You are here: Re: [PHP] trying to send mail via localhost « PHP « IT news, forums, messages
Re: [PHP] trying to send mail via localhost

Posted by Brent Baisley on 04/18/05 22:45

That's a relay error. It's actually a good thing. If your server is
setup to allow sending email without logging in, that's generally
called an open relay. That's where spam comes from. You can configure
your mail server to allow relaying from only the local machine. Then
you wouldn't have to login before sending mail. But you should only do
that if you really know how to configure your server. And if you really
know how to configure your server, you probably wouldn't do that.
You should look into another PHP mail function, like the PHPMailer
class library. This will allow you to authenticate with the mail server
before sending email. Then you won't have to create an open relay.


On Apr 16, 2005, at 1:28 PM, AndreaD wrote:

> When trying to send mail via localhost I get the following error
>
> Warning: mail() [function.mail]: SMTP server response: 550 5.7.1
>
>
> Any ideas?/
>
>
> RH
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация