Recommendation for a PHP class to read mail #read mail
Edit
by hu?nh t?n d??ng - 10 years ago (2014-12-03)
Mail reader
| I need help to read mail from PHP. |
- 1 Clarification request
1.
by mehman - 7 years ago (2017-07-02) Reply
Ask clarification
1 Recommendation
POP3 e-mail client: Access to e-mail mailboxes using the POP3 protocol
The class implements access to mailboxes using the POP3 protocol.
It features:
- Support secure connections using TLS
- Provides a stream wrapper class to access messages like files using fopen('pop3://user:pass@localhost/1', 'r');
- POP3 server access using standard and APOP login methods
- Authentication mechanisms implemented by SASL client classes like PLAIN, LOGIN, CRAM-MD5, NTLM (Windows or Linux/Unix via Samba), XOAUTH2, etc...
- Determining mailbox statistics (mailbox size in bytes and the number of stored messages)
- Listing of individual message sizes and identifier numbers
- Retrieving messages in data blocks of limited size to not exceed the available memory
- Retrieving messages all at once, separating the headers from the body, and limiting the number of message lines that it may retrieve at once
- Marking messages to be deleted
- Resetting the list of messages to be deleted
- Issuing of protocol NOOP command to avoid connection shutdown while in an idle state
| by Manuel Lemos package author 26695 - 10 years ago (2014-12-03) Comment
If you can access your mailbox via POP3 protocol, you can retrieve email messages using this class.
You can used it in conjunction with the MIME parser to be able to decode the messages you retrieve, so you can extract the message text or HTML part, embedded images or CSS, or even save attached files.
|