Hey,
Now this sounds simple i thought it was but it doesnt seem to be working. The code i am using is,
[PHP]<?
$domain = GetHostByName($ REMOTE_ADDR);
?>
<?
$emailtoadd = "$person @****.biz, info@****.biz, josh@****.biz";
?><?PHP
$too = "$emailtoad d";
$msg .= "Name: $name\n";
$msg .= "Email: $email\n";
$msg .= "Subject: $subject\n";
$msg .= "Comment: $comment\n";
$msg .= "IP Address: $domain\n";
$headers = "From: $email" . "\r\n" .
"Reply-To: $email" . "\r\n" .
"X-Mailer: PHP/" . phpversion();
mail($too, "**** Contact Form", $msg, $headers);
?>[/PHP]
Right, My problem is,
I need a PHP script to send an email to a specific address@****.bi z. Eg, someone selects value2 in the drop down selection list in a web form and the value is sent to a PHP script which send an email to value2@***.biz, info@***.biz, josh@****.biz.
With me? Well if you understand this please reply! I need it for my "Business" Im 14 and decided to start my own business :) make money out of my skills =D
Thanks alot in advance.
Josh Bonfield
email address removed due to forum rules - moderator
Now this sounds simple i thought it was but it doesnt seem to be working. The code i am using is,
[PHP]<?
$domain = GetHostByName($ REMOTE_ADDR);
?>
<?
$emailtoadd = "$person @****.biz, info@****.biz, josh@****.biz";
?><?PHP
$too = "$emailtoad d";
$msg .= "Name: $name\n";
$msg .= "Email: $email\n";
$msg .= "Subject: $subject\n";
$msg .= "Comment: $comment\n";
$msg .= "IP Address: $domain\n";
$headers = "From: $email" . "\r\n" .
"Reply-To: $email" . "\r\n" .
"X-Mailer: PHP/" . phpversion();
mail($too, "**** Contact Form", $msg, $headers);
?>[/PHP]
Right, My problem is,
I need a PHP script to send an email to a specific address@****.bi z. Eg, someone selects value2 in the drop down selection list in a web form and the value is sent to a PHP script which send an email to value2@***.biz, info@***.biz, josh@****.biz.
With me? Well if you understand this please reply! I need it for my "Business" Im 14 and decided to start my own business :) make money out of my skills =D
Thanks alot in advance.
Josh Bonfield
email address removed due to forum rules - moderator
Comment