[horde] set bind address for outbound smtp connections

A. Schulze sca at andreasschulze.de
Tue May 26 17:20:25 UTC 2015


Jan Schneider:

> See if the context parameters are correctly passed to  
> stream_context_create() in Horde/Socket/Client.php too.

I added in Horde/Socket/Client.php, ~ line 106:

         $h = fopen("/tmp/conect.log", "w");
         fprintf($h, "connect: %s", print_r($context, true));

that give the following:
connect: Array
(
     [ssl] => Array
         (
             [verify_peer] =>
             [verify_peer_name] =>
         )

     [bindto] => [2001:db8::1]:0
)

so, yes, $context looks not as bad...

Andreas



More information about the horde mailing list