Skip to content

OtpChatBot/pop3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POP3

Pop3 - is erlang library which provides work with pop3 protocol.

Build Status

Features

  • USER/PASS - authorization
  • STAT command
  • LIST with args command
  • Delete message
  • RSET
  • NOOP
  • Retrive message with headers
  • Ssl support
  • quit :)

Using

First of of all you need to got source code of pop3 from github. Then go to the root dir of pop3 build it:

./rebar compile

Now you can use it:

% start pop3 application
application:start(pop3).
% Some auth data
Data = {"[email protected]", "password", "pop.mail.com", 110},
% Get stat
{ok, MessageCount, Size} = pop3:get_stat(Data),
% Data with message id
Data = {"[email protected]", "password", "pop.mail.com", 110, 5},
% Delete message
ok = pop3:delete(Data2),
% RSET it
pop3:rset(Data),
% end of session
pop3:quit(Data).

Contribute

  • Fork pop3 repo
  • Make changes
  • Pull request
  • Thank you.

TODO

  • Add APOP
  • ADD TOP

AUTHORS

@0xAX

Support

Click here to lend your support to: pop3 erlang library and make a donation at www.pledgie.com !

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages