From: Eric Hodel Date: 2009-09-03T06:21:18+09:00 Subject: Re: smtp_tls 1.0.1 Released On Sep 2, 2009, at 12:24, Marcelo David wrote: >> require 'net/smtp' >> begin >> require 'smtp_tls' >> rescue LoadError >> end >> >> smtp = Net::SMTP.new address, port >> smtp.enable_starttls >> smtp.start Socket.gethostname, user, password, authentication do | >> server| >> server.send_message message, from, to >> end > > Hi, > I did the example and got this error: > > uninitialized constant Net::SMTP::OpenSSL > > the error occurs when run smtp.enable_starttls > > Same hit? Do you have openssl? $ ruby -ropenssl -e 'puts "I have OpenSSL!"' I have OpenSSL!