14 lines
296 B
Ruby
14 lines
296 B
Ruby
require "mail"
|
|
|
|
Mail.defaults do
|
|
delivery_method :smtp, {
|
|
:address => "mail.netig.net",
|
|
:port => 587,
|
|
:domain => "netig.net",
|
|
:user_name => "noreply@netig.net",
|
|
:password => ENV.fetch("SMTP_PASSWORD"),
|
|
:authentication => "plain",
|
|
:enable_starttls => :always
|
|
}
|
|
end
|