Posted: Tue Jan 17, 2012 9:32 pm Post subject: How to forward MS Exchange email to MQ?
Newbie
Joined: 17 Jan 2012 Posts: 1
I'm looking for suggestions on how to setup MS Exchange to forward emails (including attachments) to an MQ queue.
I have requirements that do not allow me to poll the exchange based email account so I was thinking of trying to setup a rule on Exchange that could be invoked and execute a custom program using MQ client libraries (.Net likely) to map the email message to an MQ one and pack the attachment in it to make it easy enough to parse on the receiving side.
Has anybody done something similar or have a suggestion (other than get off of Exchange)?
If you can't "poll", i.e. write code to act as if it was a regular email client (and why they won't support that is a separate question), then you appear to be on the right track.
The gotchas to look out for are things like needing to change environment variables in the shell that runs Exchange - i.e. to make sure that MQ is on the PATH - and that you have very solid logging and debugging available for your code.
The supportPac MA7K does something vaguely similar to this talking to Lotus Notes.
Oh, and your best bet is to mark the message as MQFMT_STRING and then put the entire MIME document that represents the email message into the MQ message.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum