Can you help me remedy this warning? I don't know what it means.
When I submitted an email address into the part of this script that you use when you forgot your password. I entered the address and submitted and got this Warning:
Warning: mail() [function.mail]: SMTP server response: 550 The address is not valid. in C:\Inetpub\wwwroot\http\home\classes\notification.php on line 49
I believe Line 49 is: // echo "em h:" . $this->email_headers;
Thanks for any help.
Here's part of the page code:
Code:
}
/**
send email
@ string $to
@ string $subject
@ string $message
/
function send_email($to,$subject,$message) {
// echo "em h:" . $this->email_headers;
$result = mail($to,$subject,$message,$this->email_headers);
if ($result == false ) { return false; } else { return true;}
}