Expand description
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§
- Account
AndService Info - The full info needed to use the test account, including credentials and server info.
- Account
Info - Imap
Info - Info needed for connecting with a IMAP server which contains all mails “send” through the test account.
- Pop3
Info - Info needed for connecting with a POP3 server which contains all mails “send” through the test account.
- Smtp
Info - 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
ethereal.mailaccounts returning it’s account and service info. - load_
account_ info - Loads a
AccountAndServiceInfoinstance from a json file from the config dir. - store_
account_ info - Stores given
AccountAndServiceInfoinstance as json in the config dir. - 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.