Need a perl module

2005-06-07 Thread Victor
I need a perl module that can help me get a attachement from a massage, from a mailbox. Can you recomend me one? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

RE: Need a perl module

2005-06-07 Thread olaloux
Use the MIME modules: MIME::Base64; MIME::QuotedPrint; Some other exist, but these can decode a large range of mail. You need to parse the mail with your code, but these modules allow you to decode the text + attachments. Do you need a sample of code? Olivier I need a perl module that

RE: Need a perl module

2005-06-07 Thread Tantalo, Christopher G
cgi@perl.org > Subject: Need a perl module > > I need a perl module that can help me get a attachement from > a massage, from a mailbox. > Can you recomend me one? > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL P

Re: Need a perl module

2005-06-07 Thread Wiggins d'Anconia
Tantalo, Christopher G wrote: > I use Mail::Box::Manager 2.00. Works pretty well for me. > +1 http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: RE: Need a perl module

2005-06-07 Thread olaloux
_att_1=~m/base64/i) { $body=MIME::Base64::decode(trim($legend)); } elsif ($content_type_att_1=~m/quoted-printable/i) { $body=decode_qp($legend); } # HAPPY PERL CODING ;-) Use the MIME modules:MIME::Base64;MIME::QuotedPrint;Some other exist, but these can decode a large range of mail. You need

RE: RE: RE: Need a perl module

2005-06-07 Thread olaloux
ontent_type_att_1=~m/base64/i) { $body=MIME::Base64::decode(trim($legend)); } elsif ($content_type_att_1=~m/quoted-printable/i) { $body=decode_qp($legend); } # HAPPY PERL CODING ;-) Use the MIME modules:MIME::Base64;MIME::QuotedPrint;Some other exist, but these can decode a large range of mail.