# PHPMailer/PHPMailer

The classic email sending library for PHP

Repository: https://github.com/PHPMailer/PHPMailer
Canonical: https://ross.abutalabs.com/products/phpmailer
Language: PHP
License: LGPL-2.1
License Family: copyleft
Topics: php, smtp, php-library, email, xoauth2, tls-support, phpmailer, attachment, hacktoberfest
Last push: 2026-08-20T22:56:23+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 72, longevity 100
- inputs: {"age_days": 5489, "days_push": 13, "days_rel": 107, "gap_med": 42.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 22280, forks 9811 (observed 2026-08-28T04:11:32.517369+00:00)

## What it is
PHPMailer is a full-featured PHP library for creating and sending email, with integrated SMTP support, authentication, attachments, HTML/multipart messages, and DKIM/S/MIME signing. It is the classic, widely adopted email-sending class used by projects like WordPress, Drupal, and Joomla.

## Use cases
- send email from php via smtp
- send html emails with attachments in php
- smtp authentication with oauth2 in php
- send emails without a local mail server
- dkim sign outgoing php emails
- send multipart alternative emails from php

## When to choose
- you need reliable RFC-compliant email sending from PHP
- you need SMTP auth, TLS, attachments, or HTML email support
- you want battle-tested code protecting against header injection

## When to avoid
- you are not working in PHP
- you need a full email client or inbox parsing solution
- you only need simple templated transactional email and prefer a hosted API SDK

## Facets
- artifact type: library
- maturity: stable
- function: email, security, auth
- domain: email, backend, web-development
- platform: php
- tags: smtp, email-sending, attachments, dkim, xoauth2, html-email

## Member repositories
- PHPMailer/PHPMailer (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:32.517369+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-29T16:57:22.452305+00:00, confidence not recorded.
  - readme: https://github.com/PHPMailer/PHPMailer (fetched 2026-08-28T04:11:32.517369+00:00, sha bda8e83d0df3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
