From: Lars Hoss Date: 2005-01-26T23:57:30+09:00 Subject: Re: Bug in open_message_stream of Net::SMTP? Thanks for the quick feedback. I simply was puzzled wether I it was mine or Net::SMTP's failure :-) Regards, Lars > Sorry, I forgot to backport a patch from 1.9. > Use this patch: > > --- lib/net/protocol.rb 18 Aug 2004 14:42:04 -0000 1.73.2.1 > +++ lib/net/protocol.rb 26 Jan 2005 14:06:47 -0000 > @@ -403,7 +403,7 @@ > end > > def puts( str = '' ) > - write str.sub(/\n?/, "\n") > + write str.chomp("\n") + "\n" > end > > def printf( *args ) > > > Regards, > Minero Aoki > > -- "Stil ist die F�higkeit, komplizierte Dinge einfach zu sagen - nicht umgekehrt." -- Cocteau, Jean