You are here

MailhandlerAuthenticate.class.php in Mailhandler 6.2

MailhandlerAuthenticate class.

File

plugins/mailhandler/authenticate/MailhandlerAuthenticate.class.php
View source
<?php

/**
 * @file
 * MailhandlerAuthenticate class.
 */
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;
  }

}

Classes

Namesort descending Description
MailhandlerAuthenticate @file MailhandlerAuthenticate class.