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

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -