TUF
06-04-2006, 08:41 PM
I'm using the following code in PHP:
<?php
// Your email address
$email = "TeamStandbyClan@hotmail.co.uk";
// The subject
$subject = "This is a subject";
// The message
$message = "Why, hello...";
mail($email, $subject, $message, "From: $email");
echo "The email has been sent.";
?>
but when I run the script, I get the following message:
Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for TeamStandbyClan@hotmail.co.uk in \\192.168.1.16\webfiles\files\2006-3\678861\email.php on line 8
What's the problem?
<?php
// Your email address
$email = "TeamStandbyClan@hotmail.co.uk";
// The subject
$subject = "This is a subject";
// The message
$message = "Why, hello...";
mail($email, $subject, $message, "From: $email");
echo "The email has been sent.";
?>
but when I run the script, I get the following message:
Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for TeamStandbyClan@hotmail.co.uk in \\192.168.1.16\webfiles\files\2006-3\678861\email.php on line 8
What's the problem?