public function MailhandlerParser::authenticate in Mailhandler 7.2
Same name and namespace in other branches
- 6.2 plugins/feeds/plugins/MailhandlerParser.class.php \MailhandlerParser::authenticate()
Authenticate the message and set $message['authenticated_uid'].
1 call to MailhandlerParser::authenticate()
- MailhandlerParser::parse in plugins/
feeds/ plugins/ MailhandlerParser.class.php - Implementation of FeedsParser::parse().
File
- plugins/
feeds/ plugins/ MailhandlerParser.class.php, line 138 - MailhandlerParser class.
Class
- MailhandlerParser
- Parses an IMAP stream.
Code
public function authenticate(&$message, $mailbox) {
if ($plugin = $this->config['authenticate_plugin']) {
if ($class = mailhandler_plugin_load_class('mailhandler', $plugin, 'authenticate', 'handler')) {
$message['authenticated_uid'] = $class
->authenticate($message, $mailbox);
}
}
}