Email Decoder Perl Module

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Geru

    Email Decoder Perl Module

    Hi there!,
    I'm looking for a Perl Module that does email decoder.
    I mean something that I put the email file and the Module returns
    the Message, Subject, Headers, etc, etc.
    And it should work with any email coming from every single email
    client, I mean for any kind of email.

    Thanks.

    Gerardo.
  • Ian.H [dS]

    #2
    Re: Email Decoder Perl Module

    On Thu, 18 Sep 2003 15:59:44 -0700, Geru wrote:
    [color=blue]
    > Hi there!,
    > I'm looking for a Perl Module that does email decoder. I mean something
    > that I put the email file and the Module returns the Message, Subject,
    > Headers, etc, etc. And it should work with any email coming from every
    > single email client, I mean for any kind of email.
    >
    > Thanks.
    >
    > Gerardo.[/color]


    Have a look at Mail::Audit(::A ttach).

    I've been playing with this a bit and it appears quite interesting =)

    Simple example:


    $mail = new Mail::Audit();
    $mail->ignore() if ($mail->from =~ /\@hotmail\.com/i);


    HTH =)



    Regards,

    Ian

    --
    Ian.H [Design & Development]
    digiServ Network - Web solutions
    www.digiserv.net | irc.digiserv.ne t | forum.digiserv. net
    Programming, Web design, development & hosting.

    Comment

    • Bill

      #3
      Re: Email Decoder Perl Module

      soyyogerardo@ya hoo.com (Geru) wrote in message news:<6762c750. 0309181359.6b5f f857@posting.go ogle.com>...[color=blue]
      > Hi there!,
      > I'm looking for a Perl Module that does email decoder.
      > I mean something that I put the email file and the Module returns
      > the Message, Subject, Headers, etc, etc.[/color]

      Look at Mail::POP3Clien t on CPAN
      [color=blue]
      > And it should work with any email coming from every single email
      > client, I mean for any kind of email.
      >[/color]

      The above only works for POP mail servers. I think other Mail::xxxxxxx
      modules work on other kinds of mail, though.

      Comment

      Working...