This course is still being released! Check back later for more chapters.

Get Notified About this Course!

We will send you messages regarding this course only
and nothing else, we promise.
You can unsubscribe anytime by emailing us at:
privacy@symfonycasts.com
> Symfony 7 >

Course Overview

Login to bookmark this course

Mailer and Webhook with Mailtrap

Master sending and tracking stylish emails in Symfony & Mailtrap.

  • intermediate
  • 0 students
  • EN/ES Captions
  • EN/ES Script
  • Certificate of Completion

About this course

This course is in the planning stages

Yes, sooner or later, you'll need to send emails from your app! Maybe it's a Thanks for signing up! email, Your order is ready! email, or even a We think you're fabulous, here's a discount! email. Whatever the case, with Symfony's Mailer component and Mailtrap, sending emails can be both fun in development and simple & reliable on production. In this tutorial, we'll supercharge your emails by mastering Symfony's Mailer + testing and going to production with Mailtrap:

  • Installing & configuring Symfony Mailer.
  • Previewing sent emails easily with the Symfony profiler and Mailtrap's Test Tool.
  • Using Twig to add HTML to your emails.
  • Including and inlining CSS styles in your emails.
  • Integrating the Foundation CSS framework with Inky.
  • Adding attachments, embedded images, and setting a global "from" address.
  • Tags and metadata for tracking and organizing your emails.
  • Adding email assertions to your functional tests.
  • Async email sending to keep responses speedy.
  • Setting up production delivery with Mailtrap's bridge.
  • Send emails from the command line.

And then... we'll dive into email tracking and webhooks!

  • Configuring Symfony Webhook to capture every open, click, and bounce.
  • Setting up Mailtrap's routing, parsing, and event consumer.
  • Testing your webhook setup locally with Mailtrap and ngrok.

So, let's get those emails flying, looking great, and tracking like a charm.

Next courses in the Symfony 7: Learn More Tricks section of the Symfony 7 Track!

2 Comments

Sort By
Login or Register to join the conversation
Ruslan avatar Ruslan 8 days ago

Thank you.
I waiting for something like this course.

1 | Reply |

Hey @Ruslan, I'm happy to hear this!

2 | Reply |

Delete comment?

Share this comment

astronaut with balloons in space

"Houston: no signs of life"
Start the conversation!