PHPMailer logo


The classic email sending library for PHP
+ 1

What is PHPMailer?

A full-featured email creation and transfer class for PHP. It is a class library for PHP that provides a collection of functions to build and send email messages. PHPMailer supports several ways of sending email: mail() , Sendmail, qmail & direct to SMTP servers.
PHPMailer is a tool in the Email API category of a tech stack.
PHPMailer is an open source tool with 19.9K GitHub stars and 9.8K GitHub forks. Here’s a link to PHPMailer's open source repository on GitHub

Who uses PHPMailer?

3 companies reportedly use PHPMailer in their tech stacks, including Softberg, Te Recluta, and Bit&Black.

44 developers on StackShare have stated that they use PHPMailer.

PHPMailer Integrations

PHP, WordPress, Drupal, Joomla!, and Yii are some of the popular tools that integrate with PHPMailer. Here's a list of all 6 tools that integrate with PHPMailer.
Pros of PHPMailer
Integrations for PHP based platforms
Easy configuration
Widely used

PHPMailer's Features

  • Integrated SMTP support - send without a local mail server
  • Send emails with multiple To, CC, BCC and Reply-to addresses
  • Multipart/alternative emails for mail clients that do not read HTML email
  • Add attachments, including inline
  • Support for UTF-8 content and 8bit, base64, binary, and quoted-printable encodings
  • SMTP authentication with LOGIN, PLAIN, CRAM-MD5 and XOAUTH2 mechanisms over SSL and SMTP+STARTTLS transports
  • Validates email addresses automatically

PHPMailer Alternatives & Comparisons

What are some alternatives to PHPMailer?
It is a single module with zero dependencies – code is easily auditable. The email delivery is Secure using TLS/STARTTLS. You can use HTML content, as well as plain text alternative.
It is a cross-platform mail client library built on top of MimeKit. The main goal of this project is to provide the .NET world with robust, fully featured and RFC-compliant SMTP, POP3, and IMAP client implementations.
As soon as a mailbox is connected, we create a metadata index of its content starting from the most recent emails which become available from the API within seconds. Context.IO takes care of synching email data for your app so you don't have to build, scale and maintain this infrastructure yourself. Focus on what's unique to your business, we'll manage the technical details of integrating with arcane email server protocols.
It allows sending email directly from Javascript, with no backend development. The developers create one or more email templates (dynamic content supported) and then trigger an email using our Javascript SDK, specifying the template, and the dynamic parameters for rendering the email. is a web-based email processing software which allows you to pull any kind of data from incoming e-mails based on custom parsing rules. The parsed data can be sent to any API with webhooks.
See all alternatives

PHPMailer's Followers
74 developers follow PHPMailer to keep up with related blogs and decisions.