> Hello, > > we're currently using the Mail::Audit module to process a perl script that pipes > email sent to "fake" forward emails address, then send it's to a real > address,... all works fine except if it's a HTML formatted email. My question > is, is it possible with this module to determine if it's HTML or plain test > email... or would it be better to simple strip out all the HTML elements. >
It appears that Mail::Audit provides a wrapper to a message, if that message is of a MIME format (which most if not all HTML messages will be) then you can check the type of the message, and process its various parts using the MIME::Entity methods. Only you can tell us whether or not your users want their HTML e-mail. I know I would be more than a little pissed if my HTML e-mail ended up in the bit bucket, not because I am any big fan of HTML e-mail (I am not) but (much to my dismay ;-)) I don't control everyone elses mail clients or sending habits... What do you mean by "all works fine unless it has HTML"... the module, your program, or something down the line? http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>