You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

The following hooks are currently available: test

  • after_send_mail
  • before_send_mail

These hooks are always executed as soon as a reminder mail is sent.
The hook files can be found in the module directory at the subdirectory "hooks".

After Send Mail

You can execute custom code after a mail has been sent.

Before Send Mail

With "logActivity (json_encode($MailVars))" you can get an overview of all mail variables. 

  • You can extend this array and add custom template variables, which will then be available in your mail template.
  • You can override the existing values (e.g. subject, mail template name, etc.)

Setting "$abortMail" to "abort" does abort sending the current mail.

  • No labels