Re: Exchange 2007 parsing email

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Perl would have been my preference too. He said "option 2" from my previous
email, which I interpreted to be exchange sdk based.


"Rich Matheisen [MVP]" <richnews@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:gb9ht2pugc8bpc6ush10h45c5nf1js7iqk@xxxxxxxxxx
"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


.



Relevant Pages

  • Re: Cannot reset LIBPATH in perl program on AIX
    ... >> I am having a problem with my perl module on AIX system. ... We store information of our source code in a seperate database and have ... > want and the exec your perl script. ...
    (comp.lang.perl.misc)
  • Re: problem with apt-get install AND apt-get upgrade
    ... install, bodgied compile etc) then maybe it's something you don't know ... In your last post you gave me the hint with perl and I checked it... ... ii libdevel-symdump-perl 2.08-1 Perl module for inspecting perl's symbol tab ... ii libxml-dom-perl 1.44-1 Perl module for building DOM Level 1 complia ...
    (Debian-User)
  • Need module to test CGI uploads
    ... I have a web page featuring an HTML form that includes two mandatory ... a Perl CGI script to receive the submissions ... of this form, and a Perl module, let's call it MyCgiHandler, used ...
    (comp.lang.perl.misc)
  • Re: web based bibliography creation by users
    ... Ted> aware of a Perl module with these capabilities? ... Plone is Zope and therefore python based ... adequate to collect the necessary funds. ...
    (comp.lang.perl.modules)
  • Re: Perl Tk:Scheduler command called subroutine fails to talk to tk widgets
    ... Since Perl programs are executed by a central ... Reference passing through switches is a common way ... To execute an externally referenced subroutine from inside a Perl ... inside a Perl module, precede the variable that received the reference ...
    (comp.lang.perl.modules)