Hi, I've got the solution You have to go to php.ini file and look for the line "smtp", this one has the value "localhost" by default. Then you need to add a valid smtp address here. (the smtp addres of your email account). If you need to authenticate to send an email with your current smtp address, you can look for the solution in this same group in a mail from Manuel Lemos sent this same day.
I hope to help in something. bye, Felipe. "Mark Clarkstone" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > I get the Same ERROR Help Us out!!!!!!!!!!! > > > "Felipe Lorente" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hello, could please someone help me with this?? > > I use the php function mail like this: > > > > mail($to, $subject, $text, "From: $sender > > X-Mailer: PHP/" . phpversion()); > > > > And I get the next answer from the server: > > > > Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for > > [EMAIL PROTECTED] in D:\send.php on line 22 > > > > Do I need to configure something in my smtp server?? or what can be the > > problem?? > > Thanks a lot. > > > > Felipe. > > > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php