[−][src]Crate mail_test_account
A library for creating/storing/loading ethereal.mail accounts.
Disclaimer: This source code/library/crate is unrelated to the original ethereal.mail service, through it calls their api.
Structs
AccountAndServiceInfo | The full info needed to use the test account, including credentials and server info. |
AccountInfo | |
ImapInfo | Info needed for connecting with a IMAP server which contains all mails "send" through the test account. |
Pop3Info | Info needed for connecting with a POP3 server which contains all mails "send" through the test account. |
SmtpInfo | Info needed for connecting with the test account's MSA using SMTP. |
WebInfo | A a Website which allows accessing mails send through the test account. |
Functions
create_new_ethereal_account | Crate a new |
load_account_info | Loads a |
store_account_info | Stores given |
test_account_info | Get the "test_account" tagged test account, if there is non create one and store it. |
test_account_info_with_tag | Get the test account for the given tag, if there is non create one and store it. |