You are here: Re: [PHP] mail problem « PHP « IT news, forums, messages
Re: [PHP] mail problem

Posted by Brent Baisley on 04/29/05 15:33

It probably means your email server is not setup for open relaying (aka
spam server). Mail servers should require a login in order to send
email through them. The mail() function itself doesn't support names
and passwords, but other php functions do. You might want to look into
phpmailer to handle you email needs.

Alternatively, you could setup your email server to allow open relaying
from the localhost. But that's not really recommended even if you know
exactly what you are doing with the mail server configuration.


On Apr 29, 2005, at 3:27 AM, Ross wrote:

> I get the following mail problem when trying to send from localhost.
> Any
> ideas?
>
>
> Warning: mail() [function.mail]: SMTP server response: 550 5.7.1
> Unable to
> relay for ross@aztechost.com in c:\Inetpub\wwwroot\ssn\adv_mail.php on
> line
> 179
>
>
> R.
>
> --
> 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

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