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