Mail Events
Last updated
Was this helpful?
Last updated
Was this helpful?
The module will register two PreMailSend
and PostMailSend
. These interception points are useful to alter the mail object before it gets sent out, and/or perform any functions after the mail gets sent out. An example interceptor would be:
Announced before the mail payload is sent to the chosen mailer protocol for sending. This is your last change to influence the payload.
mail
The mail payload object
Announced after the mail payload has been sent via the mailer protocol of choice.
mail
The mail payload object
result
struct
The result structure from the mailer protocol. At most it will contain an error
boolean key and a messages
array.