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:mail
mail
result
error
boolean key and a messages
array.