<?
$headers .= "From:{$membername} <{$memberemail}> \r\n";
?>
THis be the line of code I am struggling with. The less than and greater than signs here seem to comment out the $memberemail variable thus the from email shows as a server email. Any ideas as to what punctuation when added will show for example exactly <myemail@mydomain.com>?
Thanks in advance!
Help - Simple fix I am sure
Moderator: General Moderators
Re: Help - Simple fix I am sure
The spacing might make a difference.
Try
Also trim() $membername and $memberemail.
Edit: This post was recovered from search engine cache.
Try
Code: Select all
$headers .= "From: {$membername} <{$memberemail}>\r\n";Edit: This post was recovered from search engine cache.