I forgot to mention that the smtp response is most likely comming from a valid smtp dns that I'm not able to use from the current domain. Anyway this shouldn't be important since 'mail()' works in a non-soap php file. "Luis Ferrao" <luis@tukal.com> wrote in message 20030917142702.82250.qmail@pb1.pair.com">news:20030917142702.82250.qmail@pb1.pair.com... > Hi > > It seems that there is an issue about the php.ini constants and PEAR::SOAP > remote calls. > > A simple call to the php 'mail()' function won't work and the reason > returned in the soap fault is the classic "SMTP server response: 553 sorry, > that domain isn't in my list of allowed rcpthosts". > At this point you would tell me to check the php.ini file for the "SMTP = > ..." line, but this isn't the problem. > > My SMTP DNS is perfectly configured in php.ini and a call to the 'mail()' > function outside the PEAR::SOAP context works perfectly. > > Problems only seem to happen when I try to call 'mail()' from one of my wsdl > server's methods. I already tried to use set_ini() inside the server's > method to configure directly the smtp dns but it won't work either (does > someone know why?). > > > > Thanks in advance for any help. > > Luis -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php