Jump to content

Read email inbox and save attachment?


ale1981

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.