ale1981 Posted October 19, 2007 Share Posted October 19, 2007 Hi guys, I am a bit stuck! Here is what I need to do; User scans a document in and sends the document to a mailbox. I then need a script to log into that mailbox every x minutes to check to see if there is any new emails. If there is I need to download the attachment to a location and then once the file has been saved succesfully, i need to mark it so it wont get read again. The purpose of this is so that I can then display these PDFs on an intranet page so that users can view the documents, i would prefer it to be all automated instead of me going through the inbox manually and moving them myself. I have had experience in sending emails with attachments, but never reading them and saving the attachments. Any help would be very much appreciated. Thanks. Link to comment https://forums.phpfreaks.com/topic/73923-read-email-inbox-and-save-attachment/ Share on other sites More sharing options...
ToonMariner Posted October 19, 2007 Share Posted October 19, 2007 http://uk3.php.net/manual/en/ref.imap.php is your stating point... Lots to read and learn but that is the library you need. Link to comment https://forums.phpfreaks.com/topic/73923-read-email-inbox-and-save-attachment/#findComment-373040 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.