Fw: [PEAR-DEV] SMTP SOAP Server problems

From: Date: Mon, 26 May 2003 14:26:18 +0000
Subject: Fw: [PEAR-DEV] SMTP SOAP Server problems
Groups: php.soap 
Request: Send a blank email to php-soap+get-674@lists.php.net to get a copy of this message
Forwarded message from peardev. It seems Nicolas is not a member of this list, please CC him :). Begin forwarded message: Date: Thu, 22 May 2003 12:58:44 +0200 From: Nicolas Hoizey <nhoizey@phpheaven.net> To: pear-dev@lists.php.net Cc: soap@lists.php.net, shane@caraveo.com Subject: [PEAR-DEV] SMTP SOAP Server problems 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... HTH -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 -- PEAR Development Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.soap (#674) next »