Hi,
I'm getting an error when I try sending an email from some code I have
written:
"<?php
print "Thank you, <b>$_POST[name]</b>, for your message!<br><br>\n\n";
print "Your e-mail address is <b>$_POST[email]</b><br><br>\n\n";
print "Your message was:<br><br>\n\n";
print "$_POST[message] <br><br>";
// Start building the mail string
$msg = "Name: $_POST[name]\n";
$msg .= "Email: $_POST[email]\n";
$msg .= "Message: $_POST[message]\n";
// Set up the mail
$recipient = "em**************@bigpond.net.au";
$subject = "Form Submission Results";
$mailheaders = "From: My Web Site <em**************@bigpond.net.au> \n";
$mailheaders .= "Reply-To: $_POST[email]";
// Now we send the mail message
mail ($recipient, $subject, $msg, $mailheaders);
?>
"
The error says:
"
Warning: mail(): SMTP server response: 451 See
http://pobox.com/~djb/docs/smtplf.html. in .......\listing9.12.php on line
28
"
As this web site does not seem to exist does anyone have aby suggestions?
I notice that I don't seem to have provided php with a password anywhere to
access the mail server.
Does it need it?
In my php.ini file I have:
[mail function]
; For Win32 only.
SMTP = mail.bigpond.com
smtp_port = 25
; For Win32 only.
sendmail_from = em**************@bigpond.com
Any Suggestions as th why I get a SMTP server response: 451?