Prova ad usare PHPMailer, scommetto che non avrai più di questi problemi Facci sapere