I'm not held responsible for how you use this code! It's not considered nice to access public mailboxes other than from the Mailinator.com web interface!
Read emails from any public Mailinator.com inbox, add mail reading support in your .NET applications!
- Read mails from a Mailinator.com inbox
- Get inbox data from a Mailinator.com inbox
- 1 second timeout inbetween requests to keep public api server happy
using MailAPI;
Mailinator api = new Mailinator("example_inbox"); //[email protected]
var inbox = api.getInboxStatus();
foreach (var email in inbox.public_msgs)
{
var easy_mail = api.getEasyMail(email);
Console.WriteLine("New email from: " + easy_mail.From);
}