MailTrap makes Email Test easy and safe.
I found good email test service, MailTrap.
Mailtrap is a fake SMTP server for development teams to test, view and share emails sent from the development and…mailtrap.io
When I send email as a test on my application, I’m always very carefully. Sometimes I need to switch recipients from actual data to dummy data.
But MailTrap solves this problem.
MailTrap prepares dummy inbox with SMTP and POP.
I only change the setting and authentication. Following example is changing SMTP from SendGrid to MailTrap.
Properties prop = new Properties();
//Change SMTP From SendGrid To MailTrap
Transport.send(msg, "user", "password");
If I send an email to my actual recipients, it’s no problem. MailTrap captures the mail and never send to recipients.
You can also check raw data.
I’m pretty amazed that MailTrap output the spam report by SpamAssasin.
You can easily get inbox data through MailTrap API. Nice!
Have a good email testing!