Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks

I was hoping you could please point me in the right direction for retrieving email and saving it as a .eml (complete with attachements) on my local mashine

regards

  • Comment on retrieving mail and save as .eml on local mashine

Replies are listed 'Best First'.
Re: retrieving mail and save as .eml on local mashine
by Fletch (Bishop) on May 24, 2006 at 13:30 UTC

    Well, first you connect to the email server, then you download the message, then you write it out (in whatever this ".eml" format is).

    Perhaps if you gave a micron of context (OS, what kind of email server (POP, IMAP), a link to some sort of reference to this ".eml" format, etc) someone might could give you a more cogent answer. See also How (Not) To Ask A Question.

Re: retrieving mail and save as .eml on local mashine
by marto (Cardinal) on May 24, 2006 at 13:35 UTC

      Thank you for the advice I will look at the documentation you specified and reply later with a better formulated question

      Aplogies

Re: retrieving mail and save as .eml on local mashine
by izut (Chaplain) on May 24, 2006 at 13:40 UTC

    You can check MIME-tools on cpan.

    Igor 'izut' Sutton
    your code, your rules.

Re: retrieving mail and save as .eml on local mashine
by Polonius (Friar) on May 24, 2006 at 15:44 UTC

    Google tells me that .eml files are something to do with Outlook. Searching CPAN for outlook gives this. You might find something useful among those modules.

    Polonius