Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zend Framework: How to read email attachments (and save to disk)?

I am currently using Zend_Mail_Storage_Imap to read email messages using IMAP. I am able to read the email body (text and html) thanks to the documentation.

Now I'm trying to figure out how to save email attachments. I can't find anything that explains how to convert the raw content and save the attachments. How can I do this?

like image 267
Andrew Avatar asked Jun 24 '11 23:06

Andrew


1 Answers

Try these:

http://macfoo.wordpress.com/2009/06/10/save-an-email-attachment-using-zend-mail/

http://www.electrictoolbox.com/function-extract-email-attachments-php-imap/

like image 94
Justin ᚅᚔᚈᚄᚒᚔ Avatar answered Nov 16 '22 03:11

Justin ᚅᚔᚈᚄᚒᚔ