$headers .= 'From: Birthday Reminder <birthday@example.com>' . "\r\n"; anche questa stringa mi ritorna 0 xkè legge come indirizzo del mittente solo Birthday Reminder escludendo <birthday@example.com>
questo è 1 echo esempio di ciò che php legge nel mio header
$mail_headers = "To: Nome destinatario $destinatario\n";
$mail_headers .= 'From: Birthday Reminder <birthday@example.com>' . "\r\n";
echo dell'header
To: Nome destinatario nino.1@libero.it From: Birthday Reminder errore (errore è 1 echo messo nel if nel caso mail tornasse 0)
dentro to mi legge tutto come indirizzo di posta e quindi è già 1 errore e nel from esclude proprio < .. >