Back to the Learning

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.

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.

Publish Date: June 14, 2014