Mailable

Laravel 5.5 Adds Support for Email Themes in Mailables
Laravel 5.5 / April 03, 2017

Laravel 5.5 Adds Support for Email Themes in Mailables

In Laravel 5.4, we were introduced to Markdown emails, which allow us to compose emails in Markdown while leveraging Blade’s Components and Slots. Laravel ships with a range of pre-defined components for elements such as headers, footers, buttons, and tables which can easily be dropped into your email templates. @component(‘mail::button’, [‘url’ => $actionUrl, ‘color’ => …

In Laravel 5.5 You Can Render Mailables to the Browser
Laravel 5.5 / March 27, 2017

In Laravel 5.5 You Can Render Mailables to the Browser

When you are building custom HTML email templates, it’s typically a chore to test them across all the email clients, and testing them over and over. There are a few tools like Litmus which help solve this problem, but the service is expensive. Another way to test while you are developing is to render out …

In Laravel 5.4 You Can Use Markdown in Your Emails
Laravel 5.4 / December 13, 2016

In Laravel 5.4 You Can Use Markdown in Your Emails

Coming to Laravel 5.4 is a brand new system for writing your emails templates in Markdown and it comes complete with automatic inline styling, various components and slots, and Litmus tested templates.

Read more…
Laravel Mailable: The new and improved way to send email in Laravel
Laravel Tutorials / August 10, 2016

Laravel Mailable: The new and improved way to send email in Laravel

A new feature in Laravel 5.3 is a way to simplify sending email by creating “mailable” classes that handle setting up your emails. The best way to explain this feature is with an example. In Laravel 5.2 you would typically send an email like the following that is outlined in the documentation: Mail::send(’emails.reminder’, [‘user’ => …