Ok, I have a little problem with mail(), and I have read every note on php.net to no avail.
This is the error I get:
Code: Select all
Warning: mail() [function.mail]: SMTP server response: 550 you are not allowed to send mail to <email@jay-designs.co.uk> in C:\Program Files\Apache Group\Apache2\htdocs\collegesite\contact.php on line 37Code: Select all
$body = "This is a message from $name1 using the Contact Form @ Jay's Photoshop Tutorials.\n";
$body .= "\n";
$body .= "----------\n";
$body .= "\n";
$body .= $message1;
//Send the email
mail ('email@jay-designs.co.uk', 'Message from PS Tutorials Contact Form', $body, 'From: ' . $email1 . "\n");I'm guessing it must be a problem with my php.ini. Here are my current settings:
Code: Select all
SMTP = smtp.ntlworld.com
smtp_port = 25Does anyone know what's going wrong?
Thanks.