PHPMailer logo

PHPMailer

The classic email sending library for PHP
50
78
+ 1
6

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 21K GitHub stars and 9.7K GitHub forks. Here’s a link to PHPMailer's open source repository on GitHub

Who uses PHPMailer?

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

Developers
45 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
2
Widely used
2
Integrations for PHP based platforms
2
Easy configuration

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?
Nodemailer
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.
Twilio
Twilio offers developers a powerful API for phone services to make and receive phone calls, and send and receive text messages. Their product allows programmers to more easily integrate various communication methods into their software and programs.
Twilio SendGrid
Twilio SendGrid's cloud-based email infrastructure relieves businesses of the cost and complexity of maintaining custom email systems. Twilio SendGrid provides reliable delivery, scalability & real-time analytics along with flexible API's.
Amazon SES
Amazon SES eliminates the complexity and expense of building an in-house email solution or licensing, installing, and operating a third-party email service. The service integrates with other AWS services, making it easy to send emails from applications being hosted on services such as Amazon EC2.
Mailgun
Mailgun is a set of powerful APIs that allow you to send, receive, track and store email effortlessly.
See all alternatives

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