Module: MmMail

Defined in:
lib/mmmail.rb

Defined Under Namespace

Classes: Message, Transport, TransportError

Class Method Summary collapse

Class Method Details

.mail(opts = {}, config = nil) ⇒ Object

Quickly send out an email.

Examples:

MmMail.mail(:to => '[email protected]', :body => 'hi!')

See Also:



280
281
282
# File 'lib/mmmail.rb', line 280

def self.mail(opts = {}, config = nil)
  Transport.mail(Message.new(opts), config)
end