image

Notes on emails used for examples:
example.com, example.net, and example.org are domain names reserved by the Internet Engineering Task Force through RFC 2606, Section 3,1 for use in documentation and examples. They are not available for registration.
We use these domains as "placeholders" – substitute using your own domain name(s).
You can use an email testing service, such as aboutmy.email, launched in 2024. The testing service aims to help ease the process of developing to use SMTPMailer and PHPMailer Pro.
The service was launched by Steve Atkins of WordToTheWise.com.

If you are testing your scripts and not getting delivery, you can check your sending email address for a deliverable report at MX Toolbox.

This release of PHPMailer Pro sets a new milestone in the development cycle of PHP mailers. First, PHPMailer Pro.php has a small footprint, less than 75 Kb in total (including the built-in SMTP functionality).

We have maintained all functionality, even adding new features.

We have also enhanced PHPMailer Pro with an new set of examples. Included are both basic and advanced examples showing how you can get inspiration to improve your own scripts.

Please note that PHPMailer Pro is NOT code compatible with PHPMailer.
Several PHPMailer methods and properties have been removed. One example is the "IsHTML" method. In PHPMailer Pro, if you set the method $messageHTML, you really don't need to tell PHPMailer Pro to use it.
It's the same with IsSMTP ... the PHPMailer team call that a "convenience" method. If you set your SMTP parameters, is it really needed? With PHPMailer Pro, when you define your SMTP methods, PHPMailer Pro sends using SMTP, IsSMTP is not required.
These are two examples, there are others.

A few things to note about PHPMailer Pro:

A note to users that want to use SMTP with PHPMailer Pro.
port 465 is a legacy port supporting smtps with SSL encryption.
port 587 supports msa with STARTTLS.
Many providers no longer support port 465, prefering port 587 which helps block outgoing connections (relaying).

Our examples all use an HTML file in the /examples folder. To see what the email SHOULD look like in your HTML compatible email viewer: click here

PHPMailer Pro
Author: Andy Prevost andy@phpmailer.me (codeworxtech)