Manual:Hooks/UserMailerTransformContent

If returning false, the mail is not sent.

Details

 * : array of MailAdress objects of the targets
 * : MailAddress of the sender
 * : email body, either a string (for plaintext emails) or an array with 'text' and 'html' keys
 * : should be set to an error message string, by default false