Re: Can't access mail server

From: Date: Wed, 28 Jun 2000 19:59:43 +0000
Subject: Re: Can't access mail server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-3640@lists.php.net to get a copy of this message
Sergio A. Murillo pressed the little lettered thingies in this order... > > Hi. I have some code that connects to a SMTP server and mails some > stuff. The SMTP server is apparently working ok. I tried it with an > email client and no porblem but when I send with the mail command i > get this error on the server. > > un 22 15:49:05 www sendmail[31157]: PAA31157: ruleset=check_mail, > arg1=<www.foo.com>, relay=[204.22.171.3], reject=553 <www.foo.com>... > Domain name required > Set the fourth (the one that's optional) parameter of the mail command to be a valid e-mail address: mail("to@address","Subject","Message","From: me@foo.com"); It looks like your server is rejecting the message because of a ruleset that checks the "From: " header of the message. The fourth option of the mail() command send any extra headers that you need to send with your message(s). Good luck... Christopher Ostmo a.k.a. support@rosenet.net Rosenet Technical Support Rosenet, Inc. (541) 440-1447 For a good time, http://www.rosenet.net/UserServices/

« previous php.general (#3640) next »