Hi All,
I haven't changed anything on my server and the mail() function has stopped working.
Here is the error and my code:
Warning: Server Error in D:\sendmail.php on line 7
Line
1 $to = "ask@me.com";
2 $subject = "Subject";
3 $body = "Name: $realname\n";
4 $body .= "Email: $email\n";
5 $body .= "Subject: $heading\n\n";
6 $body .= "$feedback\n\n";
7 mail($to, $subject, $body);
8
9 echo "Thank you! Your message has been sent.";
I'm using Exchange Server 5.5. Any ideas?
Thx,