PHP email from header can't get the -
PHP email from header can't get the < > -
i have big form sending email via php, , works if use:
$headers .= 'from: '.stripslashes($sendfrom). "\r\n" .
but shows name. when seek following, breaks page can't figure out i'm missing.
$headers .= 'from: '.stripslashes($sendfrom) '<'.stripslashes($sendfromemail)'>' . "\r\n" .
i'd output next format:
from: joe bloggs <joebloggs@mydomain.com>
could help please?
you missing .
concat string
$headers .= 'from: '.stripslashes($sendfrom). '<'.stripslashes($sendfromemail).'>' . "\r\n";
php email
Comments
Post a Comment