Class: Backup::Configuration::Notifier::Mail
- Defined in:
- lib/backup/configuration/notifier/mail.rb
Class Attribute Summary collapse
-
.address ⇒ Object
The address to use Example: smtp.gmail.com.
-
.authentication ⇒ Object
Authentication type Example: plain.
-
.domain ⇒ Object
Your domain (if applicable) Example: mydomain.com.
-
.enable_starttls_auto ⇒ Object
Automatically set TLS Example: true.
-
.from ⇒ Object
Sender and Receiver email addresses Examples: sender - [email protected] receiver - [email protected].
-
.password ⇒ Object
Username and Password (sender email’s credentials) Examples: user_name - meskyanichi password - my_secret_password.
-
.port ⇒ Object
The port to connect to Example: 587.
-
.to ⇒ Object
Sender and Receiver email addresses Examples: sender - [email protected] receiver - [email protected].
-
.user_name ⇒ Object
Username and Password (sender email’s credentials) Examples: user_name - meskyanichi password - my_secret_password.
Method Summary
Methods inherited from Base
Methods included from Helpers
#clear_defaults!, #getter_methods, #load_defaults!, #setter_methods
Class Attribute Details
.address ⇒ Object
The address to use Example: smtp.gmail.com
19 20 21 |
# File 'lib/backup/configuration/notifier/mail.rb', line 19 def address @address end |
.authentication ⇒ Object
Authentication type Example: plain
41 42 43 |
# File 'lib/backup/configuration/notifier/mail.rb', line 41 def authentication @authentication end |
.domain ⇒ Object
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_auto ⇒ Object
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 |
.from ⇒ Object
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 |
.password ⇒ Object
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 |
.port ⇒ Object
The port to connect to Example: 587
24 25 26 |
# File 'lib/backup/configuration/notifier/mail.rb', line 24 def port @port end |
.to ⇒ Object
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_name ⇒ Object
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 |