You are here

function mail_logger_email_user in Mail Logger 7

Same name and namespace in other branches
  1. 6 mail_logger.module \mail_logger_email_user()

Load a user associated with a specific e-mail.

1 call to mail_logger_email_user()
mail_logger_handler_field_mail::render in views/mail_logger_handler_field_mail.inc
Render the field.

File

./mail_logger.module, line 238
Mail Logger module logs all outgoing mail that passes through the drupal_mail function.

Code

function mail_logger_email_user($email) {
  if ($email = mail_logger_parse_email($email)) {
    return user_load_by_mail($email);
  }
}