Re: problems sending mail
| From: | Felipe Lorente | Date: | Thu, 19 Jun 2003 09:34:58 +0000 |
| Subject: | Re: problems sending mail | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20425@lists.php.net to get a copy of this message | ||
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" <mark.clarkstone@ntlworld.com> escribió en el mensaje
news:20030619090611.30397.qmail@pb1.pair.com...
> I get the Same ERROR Help Us out!!!!!!!!!!!
>
>
> "Felipe Lorente" <lipeweb@terra.es> wrote in message
> news:20030618202708.50253.qmail@pb1.pair.com...
> > 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
> > lipeweb@terra.es 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.
> >
> >
>
>