Mail::Message::Body::File usage question
"Teel, James Brian" <[email protected]> Fri, 18 Jul 2008 10:02:43 -0400
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============1376392613== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8E8DE.F57AB929" This is a multi-part message in MIME format. ------_=_NextPart_001_01C8E8DE.F57AB929 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm a little sketchy on OOP in general, but I'm attempting to use Mailbox anyway. I'm writing a program that sifts through a automatic process' mailbox, looking for delivery failures, in order to alert the proper users. The bounce-back messages in question are always Content-Type:multipart/report, and the message bouncing back is the body of the part that's Content-Type:message/rfc822. How can I re-cast the body of the message/rfc822 part to be a message in it's own right? Do I use Mail::Message::Body::File, opening it as a new folder, or is there another way to accomplish this? Regards and thanks, Jim Teel ------_=_NextPart_001_01C8E8DE.F57AB929 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.5.7653.2"> <TITLE>Mail::Message::Body::File usage question</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT = SIZE=3D2 FACE=3D"Arial">I</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">’</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">m a little sketchy on OOP in general, but = I</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT = SIZE=3D2 FACE=3D"Arial">’</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">m attempting to use Mailbox anyway. I</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">’</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">m writing a program that = sifts through a automatic process</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">’</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial"> mailbox, looking for = delivery failures</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">, in order to alert the = proper users. The bounce-back messages in question are always = Content-Type:multipart/report, and the message bouncing back is the body = of the part that</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">’</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">s Content-Type:message/rfc822.</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT = SIZE=3D2 FACE=3D"Arial">H</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">ow can I re-cast the body = of the message/rfc822 part to be a m</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">essage in it</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">’</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">s own right? Do I use = Mail::Message::Body::File, opening it as a new folder, or is there = another way to accomplish this?</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">Regards = and thanks,</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">Jim = Teel</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"></SPAN></P> </BODY> </HTML> ------_=_NextPart_001_01C8E8DE.F57AB929-- --===============1376392613== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mailbox mailing list [email protected] http://lists.utsl.gen.nz/mailman/listinfo.cgi/mailbox --===============1376392613==--