php-imap icon indicating copy to clipboard operation
php-imap copied to clipboard

Proxy not working

Open georgeforeman22 opened this issue 3 years ago • 6 comments

the proxy option is not working. It total ignores the proxy and makes a direct request anyway:

$client = $cm->make([ 'host' => 'imap.somehost.com', 'port' => 993, 'encryption' => 'ssl', 'validate_cert' => true, 'username' => '[email protected]', 'password' => 'Password', 'protocol' => 'imap', 'proxy' => [ 'socket' => "tcp://proxy.com:3444", 'request_fulluri' => false, 'username' => "my_username", 'password' => "secret_password", ] ]);

georgeforeman22 avatar Jul 09 '21 09:07 georgeforeman22

The same problem here.

mikolajzieba avatar Jul 30 '21 12:07 mikolajzieba

same problem here , any updates?

z3d3m0n avatar Feb 23 '22 13:02 z3d3m0n

proxy does not work for me as well

bhardwajsuresh avatar Apr 26 '23 07:04 bhardwajsuresh

true, proxy is not working

MarcinGrabowski avatar Oct 25 '23 17:10 MarcinGrabowski

Same problem here

TonyChen-SH avatar Jan 11 '24 07:01 TonyChen-SH

The problem is that in Protocol.php stream_socket_client does not use a proxy and connects directly to the target. stream_socket_client

P.S. What a lazy-ass implementation of proxies 🤦

TheGP avatar Mar 13 '24 11:03 TheGP