We use Facebook authentication on our site which sets the email field, but users would like to be notified at a different email address. How can I set Notify to use a different email address than the one on the user?

Comments

gisle’s picture

Status: Active » Needs review

How can I set Notify to use a different email address than the one on the user?

There is no direct provision for this in Notify.

You can do this by adding a custom module to allow people to add a secondary email address to their profile, and use hook_mail_alter() to change the destination of notifications.

Please note that such a hook may open up Notify to be abused to send unsolicited notifications to that address. This means that it there should be some extra email authentication framework in place for this to be secure, but fixing that would be up to whoever implements this custom module.

gisle’s picture

Status: Needs review » Fixed

OP hasn't commented in a week. Closing.

Status: Fixed » Closed (fixed)

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