This article uses bare URLs, which are uninformative and vulnerable to link rot.(August 2022) |
PHPMailer is a code library to send (transport) emails safely and easily via PHP code from a web server (MUA to the MSA server).
Original author(s) | Brent R. Matzelle |
---|---|
Developer(s) | (2001-2007) Brent R. Matzelle (2007-2012) Andy Prevost |
Initial release | 2001 |
Stable release | 6.9.1
/ 2023-11-25; 3 months ago |
Repository |
|
Written in | PHP |
Operating system | Cross-platform |
Available in | over 50 languages |
License | LGPL |
Website | github |
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 solutions for these matters on PHP.
Partial list of features:
Worx International Inc claimed in 2009[15][16] 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):
X-Mailer: PHPMailer 5.2.13 (https://github.com/PHPMailer/PHPMailer)
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.[17]
Latest online Phpmailer Tutorials with example so this page for both freshers and experienced candidate who want to get job in Phpmailer company