mycred_email_sent

Description

This action indicates the instance where the Email Notifications Add-on has sent an email to either your user or admin (or both).

Available since version 1.1

Parameters

Param Type Required Description
$email array No

An associative array containing details about the email that was just sent.

Available details:

  • to – Recipients email address
  • subject – The email subject
  • message – The message body
  • headers – The email headers
  • attachments – Optional email attachments
  • request – The myCRED log entry that triggered this email notification
  • email_id – Email id (added in 1.6)

Used By

Package Prio. Description
Not used by any built-in package.

Examples

Example 1: Count the number of email notifications that myCRED sends.