consiglio? usa la classe phpmailer.
Semplice da usare, fai quello che vuoi e non dà problemi con nessun webmail che io sappia.