You are here

function hook_multiple_email_register in Multiple E-mail Addresses 6

Same name and namespace in other branches
  1. 7 multiple_email.api.php \hook_multiple_email_register()
  2. 2.x multiple_email.api.php \hook_multiple_email_register()

Signal that an email address has been registered by Multiple Email.

Parameters

$email: The fully-loaded email object created by Multiple Email.

1 invocation of hook_multiple_email_register()
multiple_email_register_email in ./multiple_email.module
Adds an unconfirmed e-mail address to the e-mail registry.

File

./multiple_email.api.php, line 19
API functions for Multiple Email module.

Code

function hook_multiple_email_register($email) {
  drupal_set_message(t('Do not forget to confirm %email!', array(
    '%email' => $email->mail,
  )));
}