php-imap
php-imap copied to clipboard
Proxy not working
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", ] ]);
The same problem here.
same problem here , any updates?
proxy does not work for me as well
true, proxy is not working
Same problem here
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 🤦