RE: [PEAR] mail to gmail

From: Date: Tue, 11 Sep 2007 16:57:40 +0000
Subject: RE: [PEAR] mail to gmail
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27903@lists.php.net to get a copy of this message
Hello Bora, The issue is not with your PHP code. It appears you have a misconfiguration in your mail server that does not allow you to relay mail to any hosts outside of the localdomain. To fix this, consult your SMTP server documentation and add all your domains to the rcpthosts file. For qmail: http://www.palomine.net/qmail/relaying.html For Postfix: http://archives.neohapsis.com/archives/postfix/2007-06/1526.html Ryan Sims > -----Original Message----- > From: Bora Tahir Izgördü [mailto:izgordu@uzem.itu.edu.tr] > Sent: Tuesday, September 11, 2007 5:45 AM > To: pear-general@lists.php.net > Subject: [PEAR] mail to gmail > > Hello, > > I can email to any gmail or yahoo account from interface of my email > service. > However, when i try to send email (to another account for ex. gmail or > yahoo) using mail function and same smtp server, i get this: > > *Warning*: mail() [function.mail > <http://localhost/php_forms/function.mail>]: SMTP server > response: 553 > sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) in > *C:\AppServ\www\php_forms\kit_form2.php* on line *27 > > and when i use my email addres as receiver, i can get the mail. > > should i do something else to send email other to other accounts using > mail function? > > Thanks > > Bora Tahir > * > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pear.general (#27903) next »