Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  POP3 client library

Qrilka
Posted: Fri Jun 29, 2007 3:25 pm Reply with quote
User Joined: 21 Sep 2006 Posts: 141
I need to access POP3 mailbox in my application. I have found Epop
project from Tobbe on CEAN (taken from jungerl) which is quite old
(from 1998). Are there any other libs with such functionality
available?

Regards,
Kirill.
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist
View user's profile Send private message
Guest
Posted: Fri Jun 29, 2007 8:06 pm Reply with quote
Guest
"Kirill Zaborski" <qrilka@gmail.com> wrote:

> I need to access POP3 mailbox in my application. I have found Epop
> project from Tobbe on CEAN (taken from jungerl) which is quite old
> (from 1998). Are there any other libs with such functionality
> available?
the "user contributions" page at erlang.org has
http://www.erlang.org/user.html#epop-2.9


----
Garry Hodgson, Senior Software Geek, AT&T CSO

nobody can do everything, but everybody can do something.
do something.

_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist
Qrilka
Posted: Fri Jun 29, 2007 8:23 pm Reply with quote
User Joined: 21 Sep 2006 Posts: 141
In that archive epop.erl has
-vc('$Id: epop.erl,v 1.18 1998/12/06 13:26:41 tobbe Exp $ ').

And
-vc('$Id: epop.erl,v 1.1 2003/05/06 11:10:43 etnt Exp $ ').

Maybe Tobbe will shine the light on question which is the latest version? Smile

Regards,
Kirill.

On 6/30/07, Garry Hodgson <garry@sage.att.com (garry@sage.att.com)> wrote:
Quote:
"Kirill Zaborski" <qrilka@gmail.com (qrilka@gmail.com)> wrote:

> I need to access POP3 mailbox in my application. I have found Epop
> project from Tobbe on CEAN (taken from jungerl) which is quite old
> (from 1998). Are there any other libs with such functionality
> available?
the "user contributions" page at erlang.org has
http://www.erlang.org/user.html#epop-2.9


----
Garry Hodgson, Senior Software Geek, AT&T CSO

nobody can do everything, but everybody can do something.
do something.




Post recived from mailinglist
View user's profile Send private message
tobbe
Posted: Fri Jun 29, 2007 9:50 pm Reply with quote
User Joined: 19 Jan 2005 Posts: 274 Location: Stockholm, Sweden
Kirill Zaborski wrote:
> In that archive epop.erl has
> -vc('$Id: epop.erl,v 1.18 1998/12/06 13:26:41 tobbe Exp $ ').
>
> And
> -vc('$Id: epop.erl,v 1.1 2003/05/06 11:10:43 etnt Exp $ ').
>
> Maybe Tobbe will shine the light on question which is the latest
> version? Smile

The latest is in jungerl.

I suspect that the differences are minimal though.
I used epop extensively once upon a time and since
the POP3 protocol hasn't changed, I expect that
the epop code (at least the client part) still works fine.

Cheers, Tobbe

>
> Regards,
> Kirill.
>
> On 6/30/07, *Garry Hodgson* <garry@sage.att.com
> <mailto:garry@sage.att.com>> wrote:
>
> "Kirill Zaborski" <qrilka@gmail.com <mailto:qrilka@gmail.com>> wrote:
>
> > I need to access POP3 mailbox in my application. I have found Epop
> > project from Tobbe on CEAN (taken from jungerl) which is quite old
> > (from 1998). Are there any other libs with such functionality
> > available?
> the "user contributions" page at erlang.org <http://erlang.org> has
> http://www.erlang.org/user.html#epop-2.9
>
>
> ----
> Garry Hodgson, Senior Software Geek, AT&T CSO
>
> nobody can do everything, but everybody can do something.
> do something.
>
>

_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist
View user's profile Send private message Send e-mail Visit poster's website
jb
Posted: Fri Jun 29, 2007 11:42 pm Reply with quote
Joined: 16 Feb 2005 Posts: 4
There is a POP3 client in the yaws mail application
(yaws/applications/mail/src/mail.erl).
It contains code for decoding emails (parsing headers and body,
unpacking attachments
and decoding), and a simple SMTP client for sending emails with
attachments. I've found it useful
in a number of applications. The down side is that the code is
undocumented Smile

A typical POP3 request is done as follows. To list all emails do

mail:list(Server, User, Password)

and to retreive an email do

mail:retr(Server, User, Password, Nr).

Once you've got the message you can use the various parse functions to
process
the email. Sending an email is done though the smtp:send(Server, From,
To, Subject, Message,
Attachments) function.

Regards,
/Johan


Kirill Zaborski wrote:

>I need to access POP3 mailbox in my application. I have found Epop
>project from Tobbe on CEAN (taken from jungerl) which is quite old
>(from 1998). Are there any other libs with such functionality
>available?
>
>Regards,
>Kirill.
>_______________________________________________
>erlang-questions mailing list
>erlang-questions@erlang.org
>http://www.erlang.org/mailman/listinfo/erlang-questions
>
>

_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
Post new topic

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum