Sha256: 81a777bb66ebb0aaa3a3c86748e54ccb7b823c642320125de29481d9911fdb1c
Contents?: true
Size: 395 Bytes
Versions: 4
Compression:
Stored size: 395 Bytes
Contents
# code: # * George Moschovitis <gm@navel.gr> # # (c) 2004 Navel, all rights reserved. # $Id: mail.rb 164 2004-11-18 11:47:50Z gmosx $ require "net/smtp" module N # = Mail # # A thin wrapper arround net/smtp # module Mail # Send an email # # def self.send(from, to, body) Net::SMTP.start($smtp_server, 25) { |smtp| smtp.send_message(body, from, to) } end end end # module
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.6.0 | lib/nitro/mail.rb |
nitro-0.8.0 | lib/nitro/mail.rb |
nitro-0.5.0 | lib/nitro/mail.rb |
nitro-0.7.0 | lib/nitro/mail.rb |