Re: Exchange 2007 parsing email
- From: "Rich Matheisen [MVP]" <richnews@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 18 Feb 2007 14:27:07 -0500
"andy webb" <awebb@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
http://msdn2.microsoft.com/en-us/library/aa579806.aspx
Look at the Hub Transport Logging sample.
Look at the Exchange Store Events sample.
Look at the Push Notification Sample
Or use Perl. :-)
Dealing with MIME can be pretty daunting considering the complexity
offered by MIME in the constitution of the various body parts. By
"decrypting", do you think he meant "decoding"? I hope so. Decrypting
body parts can be a pain, too. S/MIME or PGP, for example?
No need for another SMTP server. Just fish the message out of the
mailbox's Inbox with POP3 (a Perl module). Then use the MIME-tools
Perl module to deconstruct the message into its hierarcy of body parts
(and use the LWP module, if it's in HTML, to get at the text), find
the ones you want and process them. Use FTP (another Perl module) to
send the files to the *nix machine (or SSH, but that's a bit more
complex -- also a Perl module). To send the messages from the *nix
machine, use telnet (another Perl module) and something as simple as
the "mail" command (depends on the e-mail system).
Or you can lock yourself in to another Microsoft-specific programming
language (powershell? C#?) and repeat the excercise (with some languae
more widely used) if you have to deal with some other e-mail system
later.
--
Rich Matheisen
MCSE+I, Exchange MVP
MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
Don't send mail to this address mailto:h.pott@xxxxxxxxxxxxx
Or to these, either: mailto:h.pott@xxxxxxxxxxxxxxx mailto:melvin.mcphucknuckle@xxxxxxxxxxxxx mailto:melvin.mcphucknuckle@xxxxxxxxxxxxxxx
.
- Follow-Ups:
- Re: Exchange 2007 parsing email
- From: andy webb
- Re: Exchange 2007 parsing email
- References:
- Exchange 2007 parsing email
- From: murthy_gandikota@xxxxxxxxx
- Re: Exchange 2007 parsing email
- From: andy webb
- Re: Exchange 2007 parsing email
- From: murthy_gandikota@xxxxxxxxx
- Re: Exchange 2007 parsing email
- From: andy webb
- Exchange 2007 parsing email
- Prev by Date: Re: Removing 250-XEXCH50 from EHLO Response
- Next by Date: Re: store mounting issues
- Previous by thread: Re: Exchange 2007 parsing email
- Next by thread: Re: Exchange 2007 parsing email
- Index(es):