[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

POP3 over SSL

Archit Baweja

1/7/2005 7:48:00 AM

Hi

So I was experimenting with Net::POP3 and my GMail account. I was
wondering if anyone knew about pop3 over ssl (since gmail requires SSL
connections). I also bumped into this thread
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby...
which says that a SSL patch for Net::POP3 was "checked in". But I can't
seem to find any of the Net::POP3#enable_ssl and friend methods.

Any ideas?
Archit Baweja



1 Answer

ts

1/7/2005 11:29:00 AM

0

>>>>> "A" == Archit Baweja <bighead@users.sourceforge.net> writes:

A> http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby...
A> which says that a SSL patch for Net::POP3 was "checked in". But I can't
A> seem to find any of the Net::POP3#enable_ssl and friend methods.

It's in 1.9.0

uln% grep VERSION version.h
#define RUBY_VERSION "1.9.0"
#define RUBY_VERSION_CODE 190
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 9
#define RUBY_VERSION_TEENY 0
uln%

uln% grep enable_ssl lib/net/pop.rb
def POP3.enable_ssl(verify = OpenSSL::SSL::VERIFY_PEER, certs = nil)
def enable_ssl(verify = OpenSSL::SSL::VERIFY_PEER, certs = nil,
uln%



Guy Decoux