Class: Backup::Configuration::Notifier::Mail

Inherits:
Base
  • Object
show all
Defined in:
lib/backup/configuration/notifier/mail.rb

Class Attribute Summary collapse

Method Summary

Methods inherited from Base

defaults

Methods included from Helpers

#clear_defaults!, #getter_methods, #load_defaults!, #setter_methods

Class Attribute Details

.addressObject

The address to use Example: smtp.gmail.com



19
20
21
# File 'lib/backup/configuration/notifier/mail.rb', line 19

def address
  @address
end

.authenticationObject

Authentication type Example: plain



41
42
43
# File 'lib/backup/configuration/notifier/mail.rb', line 41

def authentication
  @authentication
end

.domainObject

Your domain (if applicable) Example: mydomain.com



29
30
31
# File 'lib/backup/configuration/notifier/mail.rb', line 29

def domain
  @domain
end

.enable_starttls_autoObject

Automatically set TLS Example: true



46
47
48
# File 'lib/backup/configuration/notifier/mail.rb', line 46

def enable_starttls_auto
  @enable_starttls_auto
end

.fromObject

Sender and Receiver email addresses Examples:

sender   - [email protected]
receiver - [email protected]


14
15
16
# File 'lib/backup/configuration/notifier/mail.rb', line 14

def from
  @from
end

.passwordObject

Username and Password (sender email’s credentials) Examples:

user_name - meskyanichi
password  - my_secret_password


36
37
38
# File 'lib/backup/configuration/notifier/mail.rb', line 36

def password
  @password
end

.portObject

The port to connect to Example: 587



24
25
26
# File 'lib/backup/configuration/notifier/mail.rb', line 24

def port
  @port
end

.toObject

Sender and Receiver email addresses Examples:

sender   - [email protected]
receiver - [email protected]


14
15
16
# File 'lib/backup/configuration/notifier/mail.rb', line 14

def to
  @to
end

.user_nameObject

Username and Password (sender email’s credentials) Examples:

user_name - meskyanichi
password  - my_secret_password


36
37
38
# File 'lib/backup/configuration/notifier/mail.rb', line 36

def user_name
  @user_name
end