![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Reading e-mail attachment from a webmailby vgy (Initiate) |
on Sep 27, 2007 at 10:27 UTC ( #641320=perlquestion: print w/replies, xml ) | Need Help?? |
vgy has asked for the wisdom of the Perl Monks concerning the following question:
Hi I'll try to explain my trouble. I have to read the mail with a browser. These mail are only mail error return: "Delivery Status Notification (Failure)" or "Mail Delivery System -->Undelivered Mail Returned to Sender" and any kind of error return. All of these mails contains 2 attachment file. the first file is "Reporting-MTA: dns; jjj.xxx.yyyyyyy.zz X-Mail-Service-Queue-ID: 52C1DB98D9 X-Mail-Service-Sender: rfc822; xxxx@yyyy.zz Arrival-Date: Wed, 26 Sep 2007 08:43:24 +0200 (CEST) Final-Recipient: rfc822; XXX@YYYY.ZZ Original-Recipient: rfc822;XXX@YYYY.ZZ Action: failed Status: 5.7.1 Remote-MTA: dns; mx.xxxx.yy Diagnostic-Code: smtp; 550 5.7.1 Unable to relay for XXXX@YYYY.ZZ the second contains the original message. I need to read these file for parsing and extract information from. What module can I use? Any suggestion are welcome
Back to
Seekers of Perl Wisdom
|
|