PHP Classes

Recommendation for a PHP class to save email attachment: Read email and save attachment

Recommend this page to a friend!
  All requests RSS feed  >  Recommendation for a PHP class to sav...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Recommendation for a PHP class to save email attachment


Picture of ajit by ajit - 2 years ago (2020-04-30)

Read email and save attachment

This request is clear and relevant.
This request is not clear or is not relevant.


I need PHP code to read email from Microsoft Exchange or using IMAP and save an attachment file it may contain.

Ask clarification

1 Recommendation

PHP MIME Email Message Parser: Decode MIME e-mail messages

This recommendation solves the problem.
This recommendation does not solve the problem.


Picture of Manuel Lemos by Manuel Lemos package author package author Reputation 22255 - 2 years ago (2020-05-02) Comment

If you can read your email message into a string or a file, you can use this package to parse the email and save all attachments to strings or files.

You can use the PHP IMAP extension to extract the email contents to a string.

Recommend package
For more information send a message to info at phpclasses dot org.