Sha256: 62066b16173f5b5bc3f4c6082e76e6627764050bb06db9754450deeaea65c7c9
Contents?: true
Size: 402 Bytes
Versions: 1
Compression:
Stored size: 402 Bytes
Contents
# = Mail utilities # # A thin wrapper arround net/smtp # # code: # George Moschovitis <gm@navel.gr> # # (c) 2004 Navel, all rights reserved. # $Id: mail.rb 71 2004-10-18 10:50:22Z gmosx $ require "net/smtp" module N 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.1.2 | lib/n/utils/mail.rb |