The following is code on my site for sending a confirmation email when the user signs up. The email gets sent just fine but the sender is blank (it comes up as "unknown sender"). I would like it to come from my email, from ABC Technologies.
{
// ---------------- SEND MAIL FORM ----------------
// send e-mail to ...
$to=$user;
// Your subject
$subject="Your confirmation link here";
// From
$header="from: ABC Technologies";
// Your message
$message="Confirmation link for college match site
";
$message.="Click on this link to activate your account
";
$message.="http://$_SERVER[HTTP_HOST]/chat_site/confirmation.php?passkey=$confirm_code";
// send email
$sentmail = mail($to,$subject,$message,$header, "-f ABC Technologies");
}