its a dedicated host ...
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: [email protected]' . "\r\n";
$snd = mail($email, $regard, $htmlMail, $headers);
if($snd)
{
setcookie("key:", $cookie, time()-86400);
$msg = ("Your user details have been sent to your email account for future reference. Please ensure you keep these details safe as without them you cannot caccess your account<br><br>This page will automatically redirect you to the Login page in 5 seconds. If it does not please use the link provided below.");
mysql_close($link);
}
else
{
setcookie("key:", $cookie, time()-86400);
$msg = ("We apologize but there has been a problem sending your email, possibly due to high network congestion. Your password has been updated and is <br><b>$pword</b><br><br>Please wait for this page to redirect you to the Login page. If it does not please use the link provided below.");
mysql_close($link);
}
}
else
is one part where mail is mentioned
and
"if($num != 0)
{
while($row = mysql_fetch_array($sql))
{
$email = ($row["C_EMAIL"]);
$username = ($row["C_USER_NAME"]);
$type = ($row["C_MAIL_TYPE"]);
and
else
{
setcookie("key:", $cookie, time()-86400);
$msg = ("We apologize but there has been a problem sending your email, possibly due to high network congestion. <br><br>Please wait for this page to redirect you to the Login page where you can choose to have your activation details resent. If it does not please use the link provided below.");
mysql_close($link);
}
}
else
when anyone tries to register but without the php tags just the we apologize etc etc
but i do not see a line for my email to send from...should there be a line that has $email?
now i did find this on the insert.php script
if(($error == 0) && ($email != $chkEmail)) // error checking