Re: SMTP SOAP Server problems
| From: | Nicolas Hoizey | Date: | Mon, 26 May 2003 09:18:40 +0000 |
| Subject: | Re: SMTP SOAP Server problems | ||
| References: | 1 2 | Groups: | php.pear.dev php.soap |
| Request: | Send a blank email to pear-dev+get-16697@lists.php.net to get a copy of this message | ||
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
--
Nicolas "Brush" HOIZEY
Free PHP projects http://www.phpheaven.net
Veille tous azimuts http://www.gasteroprod.com
Clever Age http://www.clever-age.com