A user receives an e-mail for each role the mail gets sent to. As a result, a user can receive the same e-mail more than once.

For example, an e-mail is sent to roles, A, B, C, & D. One user belongs to roles A, B, & D. They will then receive 3 e-mails, one for each role they belong to.

Comments

nedjo’s picture

Thanks for noting this; now fixed by adding "DISTINCT(u.uid)," to beginning of SQL call in _mail_send() function.

Anonymous’s picture