Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Reading e-mail attachment from a webmail

by rdfield (Priest)
on Sep 27, 2007 at 10:58 UTC ( #641328=note: print w/replies, xml ) Need Help??

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.


  • 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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://641328]
[Discipulus]: Corion are you would able to realize such thing? O_O
[Corion]: In the same vein I have a script that automates Firefox to enter some data into another system. It's not faster than the people using the script if they were to do it manually, but they prefer not having to check the data and not having typos when ...
[Corion]: ... entering the data
[Corion]: Discipulus: I don't know whether I could really do that, but the init process itself mostly launches other processes, and the whole startup is just following a path of dependencies and making sure they are all running. Which basically is what ...
[Discipulus]: when at work my time is (temporarly) owned by the firm, so i do not care (coworkers whatch movies.. I code Perl)
[Corion]: ... make already does, except for files instead of programs. But maybe with some /proc hackery, that could be eliminated and one could use plain make :-D
[choroba]: systemd just makes is asynchronous
[choroba]: so, make -j
[Corion]: Discipulus: Yeah - but when writing Perl to save time (instead of having fun), it helps to look whether you're actually saving time ;) Why spend 5 minutes doing manually what you can spend three years automating? ;)
[Corion]: choroba: Oh, yeah :-D

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-07-27 09:32 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (408 votes). Check out past polls.