usa phpmailer ..è una classe che può essere configurata anche con l' SMTP