PHPMailer Pro Examples

All of the links at the left are examples designed to show how to send emails using PHPMailer Pro version 2024.1.3.0 or higher . The advanced tests fully use Exception Handling and provide in-depth error messages.

With the exception of the upload test, all other tests include:

  • Text message portion
  • HTML message portion
  • Inline graphic
  • Two attachments

PHPMailer Pro supports sending emails via SMTP, Sendmail and IMAP. The default is SMTP. It's automated too, if SMTP is not available, PHPMailer Pro will then attempt Sendmail. If Sendmail is unavailable, then IMAP is used.

You can download individual examples, or click on the last link and download the examples, graphics and download files in one single zip file.