Re: [PHP] trying to send mail via localhost

2005-04-18 Thread Brent Baisley
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] trying to send mail via localhost

2005-04-16 Thread AndreaD
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