Use Mail Imap with Socks proxy server

Jun 7, 2013 at 2:45 PM
Edited Jun 7, 2013 at 2:45 PM
Hello, I need to connect and read mails from IMAP through a socks5 proxy server.

I'm looking at the code but I can not realize how it would be coded to do so, anyone know which way I should go?
Thanks in advance.
Dec 21, 2013 at 6:18 PM
Anyone?