Sha256: 4939c80f2d524e09d00b0f3f9e6f0922a9750e472672d1b99012bbbc29a0f42e

Contents?: true

Size: 711 Bytes

Versions: 27

Compression:

Stored size: 711 Bytes

Contents

  ##
  # Mail [Notifier]
  #
  # The default delivery method for Mail Notifiers is 'SMTP'.
  # See the documentation for other delivery options.
  #
  notify_by Mail do |mail|
    mail.on_success           = true
    mail.on_warning           = true
    mail.on_failure           = true

    mail.from                 = "sender@email.com"
    mail.to                   = "receiver@email.com"
    mail.address              = "smtp.gmail.com"
    mail.port                 = 587
    mail.domain               = "your.host.name"
    mail.user_name            = "sender@email.com"
    mail.password             = "my_password"
    mail.authentication       = "plain"
    mail.encryption           = :starttls
  end

Version data entries

27 entries across 27 versions & 5 rubygems

Version Path
backup_zh-4.0.3.1 templates/cli/notifiers/mail
backup-4.0.3 templates/cli/notifiers/mail
backup-4.0.2 templates/cli/notifiers/mail
nfm-backup-4.0.1a templates/cli/notifiers/mail
backup-4.0.1 templates/cli/notifiers/mail
backup-4.0.0 templates/cli/notifiers/mail
backup-4.0.0rc1 templates/cli/notifiers/mail