Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ole1986/mailreceiver

PHP MailReciver is used to fetch mails and filter the result
https://github.com/ole1986/mailreceiver

filter imap mail php php-library pop3 saerch

Last synced: 21 days ago
JSON representation

PHP MailReciver is used to fetch mails and filter the result

Awesome Lists containing this project

README

        

# MailReceiver
Version: 1.0.3 | License: MIT | Author: ole1986

This class is used to receive and filter emails from either an IMAP or POP3 account using the PHP extension "php_imap"

## Example

```
new Ole1986\MailReceiver("{hostname:143}INBOX", "username", "password");
// add '/novalidate-cert' to the hostname to skip certificate validation

// fetch unread emails containing subject "Mail queue"
$me->Unread()->Subject("Mail queue")->FetchAll();
```