use net:smtp behind the proxy

P

Peter (guo) Pei

I would like to use net:smtp to send email through smtp.gmail.com. The
problem is that I am behind a proxy, so I need to tell the smtp module
that it should use the proxy (otherwise it won’t be able to resolve
smtp.gmail.com). How can this be done? There is no obvious way for me to
specify the proxy. I am using version 1.8.6 of ruby.
 
B

Brian Candler

Peter said:
I would like to use net:smtp to send email through smtp.gmail.com. The
problem is that I am behind a proxy, so I need to tell the smtp module
that it should use the proxy (otherwise it won’t be able to resolve
smtp.gmail.com). How can this be done? There is no obvious way for me to
specify the proxy. I am using version 1.8.6 of ruby.

What sort of proxy? SOCKS4/5? Something else?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top