r/PHPhelp•
[deleted]

Question formatting an email header...

$toheader = 'To: '.$name . '<' . $email . '>';

I expect to get something like this

James james@email.com (with brackets around james@email.com)

but when I echo it out I only get

James

What am I doing wrong?

Posted Dec 1, 2011, 10:48 PM UTC

10
Loading comments…