Hi,
I've been using the following script on all of our apache based servers with no problem but with a new install on a IIS server the user's email address ($email) and site name ($website) does not print. Does something different need to be done with this code for a IIS server or is it a server config error?
Thanks, and here's the code:
$msg = "Newsletter Subscription Request\n";
$msg = "Email Address: $email\n";
$to = "my@email.com";
$subject = "Newsletter Sign-up - $website";
$mailheaders = "From: MYSite.com ";
mail($to, $subject, $msg, $mailheaders);
BTW, the variable names all match the form.