public function MailhandlerParser::authenticate in Mailhandler 6.2
Same name and namespace in other branches
- 7.2 plugins/feeds/plugins/MailhandlerParser.class.php \MailhandlerParser::authenticate()
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 143 - 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);
}
}
}