gmailnator-0.1.1 has been yanked.
Goals
This library has been designed to be ultra high level and simple, see the examples below.
Examples may not always be up to date, refer to the docs.rs documentation.
The main object is the GmailnatorInbox object, to generate a new mailbox :
extern crate gmailnator;
use GmailnatorInbox;
...
let inbox = new.expect;
Getting the current email address string associated to the GmailnatorInbox instance :
let address:&str = inbox.get_address;
Display potentially received messages :
let messages = inbox.get_messages.expect;
for message in messages