Re: SMTP SOAP Server problems
| From: | Shane Caraveo | Date: | Mon, 26 May 2003 17:12:48 +0000 |
| Subject: | Re: SMTP SOAP Server problems | ||
| References: | 1 2 3 | Groups: | php.pear.dev php.soap |
| Request: | Send a blank email to pear-dev+get-16723@lists.php.net to get a copy of this message | ||
I beleive that problem was fixed in .7.3, are you sure you are on that, or are you on .7.2?
Nicolas Hoizey wrote:
Hi, did anybody at least read my post? ;)Hi Shane and other SOAP users, I'm trying to create SMTP SOAP servers and clients with PEAR::SOAP, and I have found some possible problems... In 'SOAP/Server/Email.php', line 198 is: $soap_transport =& new SOAP_Transport('mailto:'.$from, $this->response_encoding); I think it should instead be the following: $soap_transport =& SOAP_Transport::getTransport('mailto:'.$from, $this->response_encoding); At least it works for me like that. One other problem I have is that I can't set my prefered SMTP host for the reply. The $option part of the send function is set in 'SOAP/Server/Email.php' on line 201 and cannot be changed in the calling script. I have no SMTP server on my localhost, so I must use another one. I have to modify my 'SOAP/Transport/SMTP.php' file in order to do that...-Nicolas