http://www.perlmonks.org?node_id=641328


in reply to Reading e-mail attachment from a webmail

It depends on what access you have: I use Net::POP3 quite successfully to process mail programmatically. If the mailboxes aren't fronted by a POP3 server, it would be of no use, though.

rdfield

  • Comment on Re: Reading e-mail attachment from a webmail

Replies are listed 'Best First'.
Re^2: Reading e-mail attachment from a webmail
by vgy (Initiate) on Sep 27, 2007 at 11:49 UTC
    I use the POP3
    I have seen the Net::POP3 module
    but can't extract the attachment file
      I use the POP3
      I have seen the Net::POP3 module

      It's always a good idea to include important details right from the start... :)

      but can't extract the attachment file

      Same here. What exactly is the problem? Is the attachment missing entirely? Are you unable to decode its transfer encoding (e.g. base64), etc.? Could you provide some complete (but short) raw example message, and possibly also some actual code, so we have an idea of what you've tried so far, and where you're stuck?

        I' don't know if the webmail use POP3 orIMAP .I feel POP3
        I haven't seen on Net::POP3 documentation the way(how to) to extract the attachment file.
        I still haven't write any code lines.I'm looking the way to extract the attachment file from the webmail.