Re: mail problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux