Use Case: In general, I want users to receive notifications for new private messages.

However, I have an administrator account that automatically sends a "Welcome" private message when users join the site (so that their private message inbox isn't empty upon login). Since users already are receiving a "please validate your e-mail address" e-mail, I don't want them to receive a second e-mail notifying them that they have received the "Welcome" private message.

Is there a way to implement this simply?

Comments

ptmkenny’s picture

Update: I looked through the code in pm_email_notify/pm_email_notify.module but it appears that all the checks are against the $recipient variable, and I was unable to find a $sender or similar variable to add my condition (not user id '4') to.

Have I overlooked something or is this simply not possible with the module in its current form?

ptmkenny’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.