PHPMailer - Definitely a Winner!

Posted on Monday, June 20, 2005 @ 20:38:59 CDT in PHP
by Raven

PHPMailer is a PHP-Class for PHP (www.php.net) providing a package of functions to send emails. Main Features are HTML-Mail and Emails with attachments. For mailing, PHPMailer supports nearly all possiblities (old+ most of any ways) to send emails: mail(), sendmail, qmail & smtp-server directly. You can use any feature of smtp based emails: multiple to's, cc's, bcc's etc. In short: you can send emails with PHPMailer. As you (might) know, you can already send mails with the php mail() function. So why do you need a class?

Isn't it slower? - Yes that's true. But you don't pay a price if you won't get anything for it: PHPMailer makes it easy to send mails, gives you the ability of using attachments, sending HTML-messages and other stuff. With PHPMailer you can even use your own stmp-server and walk around sendmail routines used by the mail() function on *nix platforms.

Features:
  • Can send emails with multiple TOs, CCs, BCCs and REPLY-TOs
  • Redundant SMTP servers
  • Multipart/alternative emails for mail clients that do not read HTML email
  • Support for 8bit, base64, binary, and quoted-printable encoding
  • Uses the same methods as the very popular AspEmail active server (COM) component
  • SMTP authentication
  • Word wrap
  • Address reset functions
  • HTML email
  • Tested on multiple SMTP servers: Sendmail, qmail, Postfix, Imail, Exchange, Mercury, Courier
  • Works on any win32 or
  • nix platform
  • Flexible debugging
  • Custom mail headers
  • Multiple fs, string, and binary attachments (those from database, string, etc)
  • Embedded image support