ok...some issues i can't resolve...
the script IS already working...it sends a notification to the user...but...
1 - my headers aren't working...they just show up in the body of the email...
2 - "Bcc"...i really need this to work...its not...i guess it's because of number 1...
my code...advice thanks very much...jv
$myname ="Vaska\n";
$myemail ="plans@vaska.com\n";
$myreplyemail ="plans@vaska.com\n";
$bccname ="VASKA\n";
$bccemail ="bcc@vaska.com\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$myname." <".$myemail.">\r\n";
$headers .= "To: ".$name." <".$email.">\r\n";
$headers .= "Bcc: ".$bccname." <".$bccemail.">\r\n";
$headers .= "Reply-To: ".$myname." <".$myreplyemail.">\r\n";
$headers .= "X-Priority: 1\r\n";
$headers .= "X-MSMail-Priority: High\r\n";
$headers .= "X-Mailer: Just My Server";
$body ="Dear $name $surname,\n
This is an automatic message from Vaska.\n\n"
."You have just registered as a member for the Vaska Plan Center. Please check your data below:\n\n
First name: $name
Last name: $surname
Email: $email
Username: $username
Password: $password
To access the Vaska Plan Center, click here:
[url]http://www.vaska.com/plans.php[/url]";
if ($notify =='yes'){
mail($email,"Re: Vaska Registration",$body, $headers);