Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Download email attachements from MS Exchange Server automatically

Status
Not open for further replies.

sheed

Programmer
Jun 14, 2005
38
US
Hi,

Is there a way to automatically download attachedment files from Microsoft Exchange Server and save it on a filesystem in some specified folder. I want to automatically download attached files when a new email arrives from a specific contact. Don't want to delete the previous emails just want to download the latest email attachment. I have the smtp host and port but how do I connect to and download the attachments

Thanks
 
Net::pOP3 would be how I'd to it from a traditional linux mail host, might work with Exchange. Have a look on for mail or exchange and see what comes back

Be careful however, it may delete the file after reading, so test accordingly as in create a new user and use test messages and observe the outcome on the mailbox.

HTH
--Paul

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top