Prova a dare uno sguardo qui: http://sourceforge.net/projects/phpmailer/