# symfony/mailer

Helps sending emails

Repository: https://github.com/symfony/mailer
Canonical: https://ross.abutalabs.com/products/mailer
Homepage: https://symfony.com/mailer
Language: PHP
License: MIT
License Family: permissive
Topics: php, symfony, symfony-component, component
Last push: 2026-08-22T13:46:46+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 2713, "days_push": 11, "days_rel": 11, "gap_med": 0, "n_releases_24m": 56}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1594, forks 53 (observed 2026-08-28T04:05:08.973697+00:00)

## What it is
Symfony Mailer is a PHP component for creating and sending emails via SMTP or third-party transports. It supports multipart messages, attachments, Twig templating, CSS inlining, and message signing/encryption.

## Use cases
- send emails from a php application
- send transactional emails over smtp
- render html email templates with twig
- attach files to emails in php
- send emails via third-party providers like mailgun or sendgrid
- sign and encrypt email messages

## When to choose
- you are building a PHP or Symfony application that needs to send email
- you want a modern, well-maintained alternative to Swiftmailer
- you need Twig templating, CSS inlining, or multipart email support
- you need pluggable transports for SMTP or email delivery services

## When to avoid
- your project is not in PHP
- you only need a full email server or inbox client rather than a sending library
- you need bulk marketing email campaign management rather than transactional sending

## Facets
- artifact type: library
- maturity: stable
- function: email
- domain: email, backend, web-development
- platform: php
- tags: symfony-component, smtp, mime, twig-integration, transactional-email

## Member repositories
- symfony/mailer (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.973697+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:13.558477+00:00, confidence not recorded.
  - readme: https://github.com/symfony/mailer (fetched 2026-08-28T04:05:08.973697+00:00, sha 4cb865bce2bc)
  - homepage: https://symfony.com/mailer (fetched 2026-08-29T11:25:05.669004+00:00, sha 2fa23d23ac79)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T11:25:05.680769+00:00, sha 67d57e8c6560)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T11:25:05.671352+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/doc/current/mailer.html (fetched 2026-08-29T11:25:05.673567+00:00, sha e777e99149c8)
  - site_page: https://symfony.com/projects/phpmyfaq (fetched 2026-08-29T11:25:05.677316+00:00, sha 161e93015c26)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T11:25:05.679008+00:00, sha 5bd749e2b676)
- Data as of 2026-08-30T08:39:29.467469+00:00.
