# swiftmailer/swiftmailer

Comprehensive mailing tools for PHP

Repository: https://github.com/swiftmailer/swiftmailer
Canonical: https://ross.abutalabs.com/products/swiftmailer
Homepage: https://swiftmailer.symfony.com/
Language: PHP
License: MIT
License Family: permissive
Topics: php, mailer, emails, email
Archived: true
Last push: 2021-10-25T07:19:17+00:00

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

## Adoption (not part of the score)
Stars 9432, forks 849 (observed 2026-08-28T04:10:31.164539+00:00)

## What it is
Swift Mailer is a component-based, object-oriented PHP library for composing and sending emails via SMTP or Sendmail, with MIME message building, attachments, custom headers, and plugins. It was officially discontinued at the end of November 2021 and its successor is Symfony Mailer.

## Use cases
- send emails from a PHP application
- send email over SMTP with authentication and encryption
- build MIME messages with attachments and HTML bodies
- add custom email headers in PHP
- throttle or batch bulk email sending from PHP

## When to choose
- you are maintaining a legacy PHP codebase already built on Swift Mailer
- you need a battle-tested PHP mailer for an old PHP 7.x environment

## When to avoid
- you are starting a new PHP project - use Symfony Mailer instead
- you need ongoing maintenance, security fixes, or modern PHP support
- you need built-in integrations with third-party email providers

## Facets
- artifact type: library
- maturity: abandoned
- function: email
- domain: email, web-development, backend
- platform: php, cross-platform
- tags: smtp, sendmail, mime, php-library, deprecated, symfony-mailer-successor

## Member repositories
- swiftmailer/swiftmailer (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:31.164539+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-29T17:22:08.293530+00:00, confidence not recorded.
  - readme: https://github.com/swiftmailer/swiftmailer (fetched 2026-08-28T04:10:31.164539+00:00, sha f243e6e8b110)
  - homepage: https://swiftmailer.symfony.com/ (fetched 2026-08-29T08:22:09.622049+00:00, sha 8ab297c56bc8)
  - site_page: https://swiftmailer.symfony.com/docs/index.html (fetched 2026-08-29T08:22:09.631175+00:00, sha 325d82360c4f)
  - site_page: https://swiftmailer.symfony.com/docs/messages.html (fetched 2026-08-29T08:22:09.633085+00:00, sha dfe081fb10af)
  - site_page: https://swiftmailer.symfony.com/docs/headers.html (fetched 2026-08-29T08:22:09.636938+00:00, sha a5db4b22abf3)
  - site_page: https://swiftmailer.symfony.com/docs/sending.html (fetched 2026-08-29T08:22:09.640021+00:00, sha 730bc3a44499)
  - site_page: https://swiftmailer.symfony.com/docs/plugins.html (fetched 2026-08-29T08:22:09.642354+00:00, sha 0cbc5514151c)
  - site_page: https://swiftmailer.symfony.com/docs/japanese.html (fetched 2026-08-29T08:22:09.666288+00:00, sha a15a25d10763)
- Data as of 2026-08-30T08:39:29.467469+00:00.
