Sha256: c26cf61d197b2794b9f1e827c12c65bd432ca323dce33f2b3cd323b44e1799cb

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

=begin
smtp_settings must include the following information:
{
  user_name: username,
  password:  password,
  domain: domain,
  address: address,
  port: port_number,
  authentication: :plain,
  enable_starttls_auto: true
}
=end

require "mail_rotator"

module MailRotator
  module Switcher
    SMTP_SETTINGS = {
      "SENDGRID" => {
        limit: 400,
        settings: sendgrid_smtp_settings
      },

      "MANDRILL" => {
        limit: 1200,
        settings: mandrill_smtp_settings
      },

      "GMAIL" => {
        limit: 100,
        settings: gmail_smtp_settings
      }
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mail_rotator-0.1.0 samples/mail_rotator.rb.sample