$address = $email;
$subject = "Welcome To StudentsView.com";
$message = "Welcome To StudentsView.com\n\n";
$message .= "You are now a registered member of StudentsView.com. Please keep this email for your records. Your account information is as follows:\n\n";
$message .= "Username: $user\n";
$message .= "Password: $pass\n\n";
$message .= "Please do not forget your password as it has been encrypted in our database and we cannot retrieve it for you.\n\n";
$message .= "However, should you forget your password you can request a new one which will be activated in the same way as this account.\n\n";
$message .= "Click here to activate your account [url]http://www.studentsview.com/register.php?mode=activate&key=[/url]$key \n\n\n";
$message .= "Please fill out the rest of you profile once logged in. Click edit profile to finsh your registration process.\n\n";
$message .= "Thanks,\nThe StudentsView.com Staff";
$from = "From: [email]support@StudentsView.com[/email]";
send_email($address, $subject, $message, $from);
function send_email($address, $subject, $message, $from){
mail("$address", "$subject", "$message", "$from");
}
Why is the from: not sending?