dai un occhio a questo
http://swiftmailer.org/
o a questo
http://phpmailer.worxware.com/