# code: # * George Moschovitis # # (c) 2004 Navel, all rights reserved. # $Id: mail.rb 101 2004-10-22 12:35:39Z 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