Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Jun. 14th 2014

Testing Email

Run Time 18:12


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.