You are here

abstract class MailhandlerAuthenticate in Mailhandler 6.2

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

@file MailhandlerAuthenticate class.

Hierarchy

Expanded class hierarchy of MailhandlerAuthenticate

4 string references to 'MailhandlerAuthenticate'
MailhandlerAuthenticate.inc in plugins/mailhandler/authenticate/MailhandlerAuthenticate.inc
MailhandlerAuthenticateDefault.inc in plugins/mailhandler/authenticate/MailhandlerAuthenticateDefault.inc
MailhandlerAuthenticateTokenauth.inc in modules/mailhandler_tokenauth/plugins/mailhandler/authenticate/MailhandlerAuthenticateTokenauth.inc
MailhandlerMultipleEmailAuthenticate.inc in modules/mailhandler_multiple_email/plugins/mailhandler/authenticate/MailhandlerMultipleEmailAuthenticate.inc

File

plugins/mailhandler/authenticate/MailhandlerAuthenticate.class.php, line 7
MailhandlerAuthenticate class.

View source
abstract class MailhandlerAuthenticate {

  /**
   * Authenticates an incoming message.
   *
   * @param $item
   *   Array containing message headers, body, and mailbox information.
   */
  public function authenticate(&$message, $mailbox) {
    list($fromaddress, $fromname) = _mailhandler_get_fromaddress($message['header'], $mailbox);
    $uid = 0;
    return $uid;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MailhandlerAuthenticate::authenticate public function Authenticates an incoming message. 3