module Mailthis::Mailer

Constants

DEFAULT_AUTH
REQUIRED_SETTINGS

Public Class Methods

new(*args, &block) click to toggle source
# File lib/mailthis/mailer.rb, line 28
def self.new(*args, &block)
  if !ENV['MAILTHIS_TEST_MODE']
    MailthisMailer.new(*args, &block)
  else
    TestMailer.new(*args, &block)
  end
end