Laracasts has released a few episodes this week dealing with worst technology on the web, Email.
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!
Why don’t you come along with me, as I add a new feature to the Laracasts.com codebase. Specifically, I’d like to notify all users each Friday of the lessons that have been saved to their respective “Watch Later” lists. How might we accomplish such a thing?
Sure, when you need to send email from your application, you could always create a new Gmail account, and use those settings. But this breaks down really quickly! Instead, let’s use a dedicated service, like Mandrill!
For more mail Laravel tutorials check out the email category.