use net:smtp behind the proxy

Discussion in 'Ruby' started by Peter (guo) Pei, Sep 30, 2010.

  1. 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.
    --
    Posted via http://www.ruby-forum.com/.
    Peter (guo) Pei, Sep 30, 2010
    #1
    1. Advertising

  2. Peter (Guo) Pei wrote:
    > 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?
    --
    Posted via http://www.ruby-forum.com/.
    Brian Candler, Oct 1, 2010
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. vidy5300
    Replies:
    0
    Views:
    864
    vidy5300
    Jun 7, 2004
  2. Replies:
    3
    Views:
    1,073
    Roedy Green
    Jan 24, 2006
  3. Alex Hunsley
    Replies:
    4
    Views:
    3,461
    Tim Williams (gmail)
    Jun 29, 2004
  4. Kumarforg

    Web Service invocation from behind proxy behind firewall

    Kumarforg, Aug 3, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    190
    Kumarforg
    Aug 3, 2004
  5. Marlor Marlor

    SMTP gmail, behind proxy?

    Marlor Marlor, Mar 9, 2008, in forum: Ruby
    Replies:
    0
    Views:
    603
    Marlor Marlor
    Mar 9, 2008
Loading...

Share This Page