By Barberousse on
Hello,
Is there a simple way for user to receive e-mails (notifications, contact form, ...) in more than one email box ? I see that the user_validate_mail function accepts only one e-mail, no list...
Any idea of modules or simple hack to achieve this ?
Barberousse.
Comments
The hack would involve
The hack would involve implementing hook_mail_alter in a custom module:
http://api.drupal.org/api/function/hook_mail_alter/6
You could use profile module for storing the additional email addresses.
Ok, thank you, I will try to
Ok, thank you, I will try to implement a hook as suggested and using fields added by the http://drupal.org/project/mailalias module.
Barberousse.
Here is what I did for Drupal 6
Where do you place the code?
Hi, thanks for your code, I have the same requirement (send notifications to more mails related to one user).
Unfortunately I am less than a newbie in Drupal: where must be placed the piece of code you wrote? is it an addition to mailalias.module, an new module or something else?
Sorry for the stupid question but I do not know drupal from a programmer point of view; on the other side I've a f*g big need of this functionality, so I must be addressed on the right side :)
Thanks again, Silvio
Experimental module
Sorry for the delay (I thought I would receive e-mail notification for this topic but I didn't). You can find an experimental module here : http://drupal.org/node/639992 . The first archive in proposed on the page is corrupted, please use the seconde one.
Barberousse.
Status?
Has any more been done with this module? I too would really like to be able to have more than one email assigned to users.