Integration · Ruby on Rails
Rails Action Mailer SMTP settings
Action Mailer supports SMTP natively; configure it per environment.
Steps
- 1Set the delivery method to :smtp in production.rb.
- 2Store credentials in Rails credentials or environment variables.
- 3Deliver a mailer with deliver_later.
Connection settings
- Host
- smtp.mailerace.com
- Port
- 587 (STARTTLS) or 465 (TLS)
- Auth
- your SMTP credential
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: "smtp.mailerace.com",
port: 587,
user_name: ENV["MAILERACE_SMTP_USER"],
password: ENV["MAILERACE_SMTP_PASSWORD"],
authentication: :plain,
enable_starttls: true
}Send from Ruby on Rails with confidence
Authenticated, signed and delivered from warm IPs, with a log of every message.