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
Comment #1
ptmkenny commentedUpdate: 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?
Comment #2
ptmkenny commentedHere are some solutions to this:
http://drupal.stackexchange.com/questions/31437/is-it-possible-to-notify...