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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exchange 2003: redirecting incoming mail and auto-saving attachments?

Status
Not open for further replies.

MarkScripter

Programmer
Jul 26, 2001
9
US
This message pertains to Exchange 2003 running on SBS 2003. We subscribe to an internet fax service that emails fax messages to our Exchange server. Each email message contains a single fax as an attached PDF file. The emails are sent to an address we have specified - fax@ourserver.com

I would like to do two things:

First, I want to redirect all incoming mail from the fax service to a public folder on the Exchange Server. For example, using either to the TO or FROM fields on the incoming message, redirect all mail sent TO fax@ourserver.com to the public Exchange folder FAXES (or use the FROM field, redirecting all messages coming from xxx@faxservice.com).

Second, if possible, I would like to implement a script or some other automated method to save the attached PDF fax files in a separate folder on the server. (These will be the attached PDF files only, not the email.) Ideally, as soon as a new fax message is added to the public Exchange folder, the PDF file will be saved in a regular folder on the server.

Thanks. Any help appreciated.



--Mark
 
You'll want to implement an Exchange Event Sink and apply it to the public folder so that it fires when messages are delivered to the public folder. Event Sinks are a little fiddly to set up but it looks like you have some scripting/programming experience so you should find it pretty straight forward.

I found this document helpful:


I also found it easier to register the event sinks using Exchange Explorer instead of using the RegEvent.vbs script. Exchange Explorer is part of the Exchange SDK:



Ben Christian
MCSE, MCSA:Messaging
 
Thanks for the information, Ben. I'll look into using an event sink.

--Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top