# Symfony Mailer

> PHP component for creating and sending emails over SMTP or third-party email services

Source: https://talira.ai/catalog/symfony-mailer-7x5krn7w
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / email clients](https://talira.ai/categories/libraries/email-clients), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Symfony SAS](https://talira.ai/orgs/symfony-sas.md)

Symfony Mailer is the [Symfony](https://talira.ai/catalog/symfony-e514zcgt.md) project's PHP component for creating and sending emails, usable on its own or inside a Symfony app. It delivers over SMTP, the local sendmail binary or third-party transports such as Amazon SES, Mailgun, Postmark, SendGrid and Resend, and supports multipart messages, attachments, Twig templates with CSS inlining, failover and round-robin transports, and sending asynchronously through Symfony Messenger.

## Links

- Website: https://symfony.com/doc/current/mailer.html
- GitHub: https://github.com/symfony/mailer
- Docs: https://symfony.com/doc/current/mailer.html

## Problems it solves

- send email from a PHP app over SMTP
- switch my PHP app's email provider without rewriting the sending code
- send templated HTML emails from PHP with a fallback provider if one goes down

## Features

- SMTP and sendmail transports configured by a DSN
- third-party transports including Amazon SES, Mailgun, Postmark, SendGrid, Brevo and Resend
- failover and round-robin transports for high availability
- Twig templates with CSS inlining
- file attachments and multipart messages
- asynchronous sending through Symfony Messenger

## Trust

Overall: 0.63 out of 1.
Signals: maintenance 0.97, adoption 0.64, momentum 0.38, community 0.85, backing 0.30, extensibility 0.00.

- last commit 2 days ago
- 55 commits in the last 90 days
- latest release v8.2.0-RC1 5 days ago
- 1.6k GitHub stars
- 135 contributors
- accepts sponsorship (Github, Github, Custom)
- backed by Symfony SAS

## Related

- Works with [Symfony](https://talira.ai/catalog/symfony-e514zcgt.md)

## Alternatives

- [PHPMailer](https://talira.ai/catalog/phpmailer-f1gjng1q.md): Full-featured email creation and sending library for PHP, with a built-in SMTP client

## Sources

[^1]: https://symfony.com/doc/current/mailer.html (checked 28 Nov 2026)
[^2]: https://github.com/symfony/mailer/blob/8.2/LICENSE (checked 28 Nov 2026)
