public function MailhandlerFetcher::fetch in Mailhandler 6.2
Same name and namespace in other branches
- 7.2 plugins/feeds/plugins/MailhandlerFetcher.class.php \MailhandlerFetcher::fetch()
Implementation of FeedsFetcher::fetch().
Overrides FeedsFetcher::fetch
File
- plugins/
feeds/ plugins/ MailhandlerFetcher.class.php, line 42 - Checks for new messages in a mailbox (IMAP, POP3, etc...).
Class
Code
public function fetch(FeedsSource $source) {
$source_config = $source
->getConfigFor($this);
return new MailhandlerImportBatch($source_config['source'], $this->config['filter']);
}