[Solved] Mail Syntax query
Posted: Tue Jun 28, 2005 6:24 pm
Hi I wonder if anybody can help me with this tiny bit of script.
Basically I have a form where an email address is entered and once submitted I want to have a thank you type email sent to the person submitting the form.
I can’t seem to wok out how the string should be written up for example this works fine:
But once I add this extra then the script fails
I’m hoping that it is a matter of syntax but I’m just stumped at the moment
Thanks
Brian
Basically I have a form where an email address is entered and once submitted I want to have a thank you type email sent to the person submitting the form.
I can’t seem to wok out how the string should be written up for example this works fine:
Code: Select all
$headers = 'To: admin(info@me.com), brian(brian@me.com)' ."\r\n";Code: Select all
$headers = 'To: admin<info@tuttiwebs.com>' .$_POST['email'] ."\r\n";Thanks
Brian