Hi, By using Mail::POP3Client we were able to download mails from our mail server (qmail). This downloaded mail was given EMail::MIME::Attachment::Stripper to strip the attachments. But for one particular mail (mentioned below) we were not able to strip the attachment from it. Any hint on this?

Return-Path: <noc@specusa.com> Delivered-To: sales7_9707@sales.spectramedi.com Received: (qmail 2678 invoked from network); 2 Dec 2009 11:44:15 -0500 Received: from unknown (HELO pns.specusa.com) (204.15.236.5) by cms.spectramedi.com with SMTP; 2 Dec 2009 11:44:15 -0500 Received: from Canon0ADB1C.spectramedi.com (unknown [204.15.236.3]) by pns.specusa.com (Postfix) with SMTP id 81A16179B8 for <sales7_9707@sales.spectramedi.com>; Wed, 2 Dec 2009 11:41:51 + -0500 (EST) X-Priority: 1 (Highest) From: "SpectraMedi" <noc@specusa.com> To: "sales_7" <sales7_9707@sales.spectramedi.com> Subject: Attached Image Date: Wed, 02 Dec 2009 11:46:09 -0500 Message-Id: <20091202114609.000c.CanonTxNo.1386@Canon0ADB1C.spectramed +i.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="AHNJAMACDCDIDADFDGGBAAALCOAJ" --AHNJAMACDCDIDADFDGGBAAALCOAJ Content-Type: application/pdf; name="1386_001.pdf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="1386_001.pdf" JVBERi0xLjIKJSDi48/TCjEgMCBvYmoNPDwNL1R5cGUgL1BhZ2UNL01lZGlhQm94IFswID +AgMTIy ...

Readmore and Code tags added by GrandFather. Email data truncated to allow tags.


In reply to Stripping attachment by EMail::MIME::Attachment::Stripper by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.