How best to accept mail and gut the body of the letter? Ideally, I want to cut and save locally all pictures from the body of the letter. If I don’t think with the analysis of the letter of problems, then I don’t even know how to receive mail of a specific mailbox.
2 answers
I would process letters on imap.
php has imap_ * functions for working with a mailbox. php cookbook
|
You can accept any email client who can send a received letter to external utilities for processing. But if you want your own, and certainly in PHP, then look towards PECL :: POP3 , or here .
|