Phpmailer |
Story about mail sending continues. Sending lots of mails to non-existant e-mail adresses or even non-existant/mistyped hosts there are lots of problems. Usualy email has been rejected by smtp server and all mails in BCC is not sent. So I decided to try phpmailer class. It is simple to use and easy to install. Download it from http://phpmailer.sourceforge.net
To install just extract package and copy to your PHP library path (/usr/lib/php) so it become globaly visible and then in your php script add this line:
require("class.phpmailer.php");
Some examples how to send mail using phpmailer you can find in readme, also here
Notice: if you ever do public-accesed form with mail sending necessarily read this post: e-mail injection




