in reply to Re: MIME::Parser
in thread MIME::Parser and mail from MS Outlook

I'm trying to receive mail and parse it. Not send it.

Neil Watson
watson-wilson.ca

Replies are listed 'Best First'.
Re: Re: Re: MIME::Parser
by trs80 (Priest) on Aug 06, 2002 at 18:34 UTC
    Sorry, maybe I don't fully understand, I am suggesting you replace
    # email report back to sender showing the # parts of original messages open MAIL, ("|/usr/sbin/sendmail -t") || die "Unable to send mail: $!" +; print MAIL "To: $from\n"; print MAIL "From: root\n"; print MAIL "Subject: mime parser test\n\n"; print MAIL "Messege was contructed as follows: \$from: $from \$to: $to \$subject: $subject \$body: $body "; close(MAIL);
    with the MIME::Lite method. The issue I believe is that Outlook can't parse the email because it isn't being told explicitly how to deal with it via the "raw" sendmail type email construction method, and thereby defaults to its internal formatting rules.
      Other way around. I use Outlook to send mail to the script. The script parses the mail and sends a report back to Outlook. The problem is when parsing incomming messages, the script cannot capture the body from Outlook clients.

      Neil Watson
      watson-wilson.ca