• 0

Automatically Save Email Attachments


Question

I need to be able to automatically save an email attachment (sent to a specific mailbox) to a specific network folder, and name it based on the subject line.

For example, if I were to send an email to newsletter@mydomain.com with "Issue 06-07-04" as the subject and "newsletter.pdf" as the attachment, I would need the script to save the attachment to "\\INTRANET_SERVER\Newsletters", and give it the filename "Issue 06-07-04.pdf"

Does anyone have any suggestions on how to do this? It would be best if Exchange Server 2003 had a way to do this through the GUI, but I haven't found anything so far, so I think I will need to write a Workflow Event script. Any help on ways to automatically save the attachments, write a script, or make a script run on Exchange Server 2003 would be greatly appreciated.

PS: I am using Microsoft Exchange Server 2003 on Windows Server 2003

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I don't think it can be done out-of-the-box, with Outlook, for example.

But, you probably could, in code, program a little program which checks a specified mailbox (using the Exchange profile already set up) at specific intervals, then saves any/all attachments somewhere.

However, usually in these types of situations EDI or other FTP functionality is usually preferred.

Link to comment
Share on other sites

  • 0

Yeah, I was trying to avoid having to write a script to check the mailboxes and create a scheduled task, because I wanted it to be real-time.

From the research I've done, it seems a Workflow Event could be written so it would run whenever a new email is recieved. I just don't know how to "install" it on the server. Well, I don't know all the code necessary to write the event either, but that would be fairly simple to learn.

Link to comment
Share on other sites

  • 0

Thanks..

Now, does anyone know how to write a workflow event for Exchange 2003? And how to register the event to the server?

Or if anyone has any workflow event scripts that do something with emails, I could use that as a template for my own..

Link to comment
Share on other sites

This topic is now closed to further replies.