I am using a script to send an email to me whenever someone registered in my custom make PHP script site. Following is the extract of the email sending function of my code.
The problem is I need this script to send the mail where from address should be the actual user’s address (i.e. if marcel34@hotmail.com register a new account I need this system to send the following mail that should look like coming from marcel34@hotmail.com
$FromName = $Email;
$ToEmail = $listmail;
$Message = "
Please subscribe me
User Name : " . $UserName . "
Mailing : " . $Mailing . "
Name : " . $CustomerName . "
Email : " . $Email . "
Thank you
Can some body help me on this fixing?