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. Quote Link to comment 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. 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.