Method: Backup::Notifier::Mail#encryption
- Defined in:
- lib/backup/notifier/mail.rb
#encryption ⇒ Object
Set the method of encryption to be used for the SMTP connection.
- :starttls (default)
-
Use
STARTTLSto upgrade the connection to aSSL/TLSconnection. - :tls or :ssl
-
Use a
SSL/TLSconnection. - :none
-
No encryption will be used.
89 90 91 |
# File 'lib/backup/notifier/mail.rb', line 89 def encryption @encryption end |