0.0.4 • Published 10 years ago

sarah-mail v0.0.4

Weekly downloads
1
License
ISC
Repository
bitbucket
Last release
10 years ago

Sarah-Mail

Features

IMAP

  • New e-mail

Todo

  • Support multiple protocols
  • Write good unit tests

Sample code

module.exports = (domain) => {
    //Create a new Mail task generator
    var mail = domain.trigger('Mail');

    //When a new article is found
    mail.box('Inbox').on('message', (message) => {
        console.log(message.subject);
    });
};

More information

When the box() method is used no connection is made with the server, it waits until you bind an event.

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago