public function MailhandlerAuthenticate::authenticate in Mailhandler 6.2
Same name and namespace in other branches
- 7.2 plugins/mailhandler/authenticate/MailhandlerAuthenticate.class.php \MailhandlerAuthenticate::authenticate()
Authenticates an incoming message.
Parameters
$item: Array containing message headers, body, and mailbox information.
3 methods override MailhandlerAuthenticate::authenticate()
- MailhandlerAuthenticateDefault::authenticate in plugins/
mailhandler/ authenticate/ MailhandlerAuthenticateDefault.class.php - Authenticates an incoming message.
- MailhandlerAuthenticateTokenauth::authenticate in modules/
mailhandler_tokenauth/ plugins/ mailhandler/ authenticate/ MailhandlerAuthenticateTokenauth.class.php - Authenticates an incoming message.
- MailhandlerMultipleEmailAuthenticate::authenticate in modules/
mailhandler_multiple_email/ plugins/ mailhandler/ authenticate/ MailhandlerMultipleEmailAuthenticate.class.php - Authenticates an incoming message.
File
- plugins/
mailhandler/ authenticate/ MailhandlerAuthenticate.class.php, line 15 - MailhandlerAuthenticate class.
Class
- MailhandlerAuthenticate
- @file MailhandlerAuthenticate class.
Code
public function authenticate(&$message, $mailbox) {
list($fromaddress, $fromname) = _mailhandler_get_fromaddress($message['header'], $mailbox);
$uid = 0;
return $uid;
}