Email is an integral part of any web application. So, naturally, you'll want to test these emails to ensure that they look as you'd expect. Well, how exactly might you do that? Sure, we could mock the mailer, but wouldn't it be nice if we could instead use a real SMTP server for testing? Let's take a look!
View the example assertions from this lesson on GitHub.
Published on Nov 11th, 2015.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.