Black Friday: coupon FRIDAY24 for 40% off Yearly/Lifetime membership! Read more here

MailTrap - send testing email without actually sending it

After all those recent Mandrill news the whole web-dev community was shaken up and started looking for alternatives for transactional emails. And actually, there is a whole another way of thinking about it: do we always actually need to send the email? As developers, we often send the emails with testing purpose. Like registration confirmation, password reminder, some event occured etc. And we are testing the information being sent, not the email itself. So there is a service which "fakes" the email sending without actually sending it. Presenting to you - Mailtrap. On the surface, it works exactly as any email provider - you put SMTP details in your Laravel configuration, they even provide a helpful code for this: 0411_laraveldaily_mailtrap But what actually happens behind the scene is the information comes to Mailtrap server and stays there, so no actual email is sent. And you have a virtual "Mailtrap Inbox" which you can access on their page. So in the end - you can "check email" and you can click the links there or check if the information is correct. But without sending the email. The service is free for individual use with some limitations, but if you want to use it within your team for more than 1 person - it's 9.99 or 24.99 USD per month. Check it out here: Mailtrap.io Have you "faked" emails like that? What do you think about such a service?

No comments or questions yet...

Like our articles?

Become a Premium Member for $129/year or $29/month
What else you will get:
  • 67 courses (1172 lessons, total 43 h 18 min)
  • 90 long-form tutorials (one new every week)
  • access to project repositories
  • access to private Discord

Recent New Courses