A Simple Java HTTP API wrapper for 10minutemail.net
Browse latest Github releases
After the download unzip the archive and add the Jar as a library into your project.
TenMinuteMailDotNet tenMinuteMail = new TenMinuteMailDotNet();
// fetch the current mail
MailResponse mail = tenMinuteMail.getEmail();
// print the mail address
System.out.println(mail.getAddress());
// extend the expiration time to 100 Minutes
tenMinuteMail.resetTo100Minutes();
// fetch the latest email
MailContent latestEmail = tenMinuteMail.getLastEmailContent();
// create a new mail address
tenMinuteMail.generateNewEmailAddress();
// fetch the new generated email
MailResponse newMail = tenMinuteMail.getEmail();
This project is based on the 10MinuteMail.net Wrapper from Zaczero, which was orginally written in C#