You are here

class MailhandlerMultipleEmailAuthenticate in Mailhandler 6.2

Same name and namespace in other branches
  1. 7.2 modules/mailhandler_multiple_email/plugins/mailhandler/authenticate/MailhandlerMultipleEmailAuthenticate.class.php \MailhandlerMultipleEmailAuthenticate

@file MailhandlerMultipleEmailAuthenticate class.

Hierarchy

Expanded class hierarchy of MailhandlerMultipleEmailAuthenticate

1 string reference to 'MailhandlerMultipleEmailAuthenticate'
MailhandlerMultipleEmailAuthenticate.inc in modules/mailhandler_multiple_email/plugins/mailhandler/authenticate/MailhandlerMultipleEmailAuthenticate.inc

File

modules/mailhandler_multiple_email/plugins/mailhandler/authenticate/MailhandlerMultipleEmailAuthenticate.class.php, line 7
MailhandlerMultipleEmailAuthenticate class.

View source
class MailhandlerMultipleEmailAuthenticate extends MailhandlerAuthenticate {
  public function authenticate(&$message, $mailbox) {
    list($fromaddress, $fromname) = _mailhandler_get_fromaddress($message['header'], $mailbox);
    $uid = 0;
    if ($address = multiple_email_find_address($fromaddress)) {
      $uid = $address->uid;
    }
    return $uid;
  }

}

Members