[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

STARTTLS in Net::SMTP: news on the patch?

Greg Hurrell

3/20/2007 7:14:00 PM

Searching back through the archives I found this message from 2004 by
Daniel Hobe where he writes:

"This patch adds STARTTLS support to net/smtp. The new methods are
modeled on my previous patch to add SSL support to pop."

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby...

And soon after, the reply from Minero Aoki, the author of Net::SMTP:

"Thank you very much. I commited your patch with slite modifications
(mostly method names and variable names)."

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby...

But looking at my current Ruby 1.8.6 install the patch is nowhere to
be seen. Anyone know what happened between 2004 and now? I do note
that the current Ruby trunk does include STARTTLS support:

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/net/smtp.rb?revision=11994&v...

I'd prefer not to have to send login info in plaintext when using
Net::STMP... any workarounds while we wait for 1.9/2.0?

Cheers,
Greg

1 Answer

Minero Aoki

3/31/2007 5:23:00 AM

0

Hi,

On 2007/03/21, at 4:15, Greg Hurrell wrote:

> But looking at my current Ruby 1.8.6 install the patch is nowhere to
> be seen. Anyone know what happened between 2004 and now? I do note
> that the current Ruby trunk does include STARTTLS support:

SMTPS/STARTTLS patch was included in trunk but not in 1.8
because interface is unstable. I'll change API once again and
will commit it to 1.8 branch after all.

Regards,
Minero Aoki