I love php…most of the time. Trying to deal with sending emails with it is another story. Especially html emails. There’s a lot of headers and crap to set, and if you mess some up the email mgiht not get sent, or caught in a spam filter or something like that.
Enter PHPMailer,easily one of the sickest tools I’ve come across in web developement, even if it’s just for the amount of dev time saved alone.
Here a feature list from the website:
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
I havent tried any other php-mailing solutions, but I’m not even going to. If you are still sending mail from php script, start using this class today.
FlashApe » PHPMailer — its so freaking awesome
PHPMailer — its so freaking awesome
- June 24th, 2005
- 1:53 am
Am I just retarded, or did you not link to it anywhere?
http://phpmailer.sourceforge.net/