brianlange Posted July 30, 2009 Share Posted July 30, 2009 I have a script that retrieves emails and insert them into a database. How do I go about saving attachments and uploading them to the server. Thanks in advance. -Brian Quote Link to comment Share on other sites More sharing options...
zq29 Posted July 31, 2009 Share Posted July 31, 2009 How are you retrieving the emails? If you're using the IMAP functions, you could extract the attachment from the body using something like imap_fetchbody or imap_savebody. Quote Link to comment Share on other sites More sharing options...
brianlange Posted December 11, 2009 Author Share Posted December 11, 2009 I am using the Zend Framework Imap library. I was able to get it working. Thanks, -Brian Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.