Software:PHPMailer

From HandWiki
PHPMailer
PHPMailer.png
Developer(s)(2001-2007) Brent R. Matzelle

(2007-2012) Andy Prevost[1][2]
(2010-2012) Jim Jagielski[3]

(July 2012- ) Marcus Bointon[4]
Initial release2001; 23 years ago (2001)
Written inPHP
Operating systemCross-platform
Available inover 50 languages
LicenseLGPL
Websitegithub.com/PHPMailer/PHPMailer
Blue arrows can be implemented using SMTP variations.

PHPMailer is a code library to send (transport) emails safely[5] and easily via PHP code from a web server (MUA to the MSA server).

Sending emails directly by PHP code requires a high-level familiarity to SMTP protocol standards (RFC 821, 2821, 5321) and related issues (such as Carriage return) and vulnerabilities about email injection for spamming. From 2001 PHPMailer is one of the popular[6][7] solutions for these matters on PHP.

Features

Partial list of features:

  • Plain text, HTML and multipart batched files
  • SSL and TLS (Secure Sockets Layer and Transport Layer Security)
  • SMTP, Qmail, POP3
  • Debugging system
  • PHP sendmail and mail methods
  • IDN
  • DKIM

History

  • PHPMailer was originally written in 2001 by Brent R. Matzelle as a SourceForge project.[8]
  • Andy Prevost (codeworxtech) took over the project in 2007.
  • Became an Apache incubator project on Google Code in 2010, managed by Jim Jagielski.[9]
  • Marcus Bointon (coolbru on sourceforge) contributed to the project and joined as an admin in July 2012.
  • Marcus created his fork on GitHub.
  • Jim and Marcus decide to join forces and use GitHub as the canonical and official repo for PHPMailer.
  • PHPMailer moved to the PHPMailer organization on GitHub.

Popularity

Worx International Inc claimed in 2009[10][11] that: "PHPMailer continues to be the world's most popular transport class, with an estimated 9 million [⁠message user agents⁠] worldwide. Downloads continue at a significant pace daily."

PHPMailer sends an SMTP extension command with the sent emails as below which can be used to get the usage report of PHPMailer on the ESPs (Email Service Providers):

This SMTP header may differ for different versions of PHPMailer, and can also be suppressed or modified by PHP code. It also comes with Integrated SMTP support which means you can send emails without a local mail server.[12]

References

  1. codeworxtech
  2. codeworxtech
  3. jimjag
  4. coolbru
  5. It is involved in sending emails safely without Email injection risk (not the html purification which is to prevent XSS)
  6. Worxware claims 9 million MUA use PHPMailer: Frozen web page for the update Dec2013 on phpmailer.codeworxtech.com
  7. "PHPMailer for e-mail sending support" in the requirements of Mantis Bug Tracker
  8. Cite error: Invalid <ref> tag; no text was provided for refs named history
  9. "Google Code Archive - Long-term storage for Google Code Project Hosting". https://code.google.com/a/apache-extras.org/p/phpmailer/. 
  10. http://phpmailer.codeworxtech.com
  11. Frozen update
  12. "What is PHPMailer and how does it work with WordPress?" (in en-US). 2021-09-11. https://blogiestools.com/phpmailer/.