Sha256: 10cb321fd8acef4caa9e8b033202b9d57ded199c0fcc562acba0b58bd7dccc93

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

# encoding: utf-8

module Backup
  module Configuration
    module Notifier
      class Mail < Base
        class << self

          ##
          # Sender and Receiver email addresses
          # Examples:
          #  sender   - my.email.address@gmail.com
          #  receiver - your.email.address@gmail.com
          attr_accessor :from, :to

          ##
          # The address to use
          # Example: smtp.gmail.com
          attr_accessor :address

          ##
          # The port to connect to
          # Example: 587
          attr_accessor :port

          ##
          # Your domain (if applicable)
          # Example: mydomain.com
          attr_accessor :domain

          ##
          # Username and Password (sender email's credentials)
          # Examples:
          #  user_name - meskyanichi
          #  password  - my_secret_password
          attr_accessor :user_name, :password

          ##
          # Authentication type
          # Example: plain
          attr_accessor :authentication

          ##
          # Automatically set TLS
          # Example: true
          attr_accessor :enable_starttls_auto

          ##
          # OpenSSL Verify Mode
          # Example: none - Only use this option for a self-signed and/or wildcard certificate
          attr_accessor :openssl_verify_mode

        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
backup-3.0.19 lib/backup/configuration/notifier/mail.rb
backup-3.0.18 lib/backup/configuration/notifier/mail.rb