Frameworks

Rails (Action Mailer)

Ruby framework — Action Mailer.

Email capabilities

  • Accepts SMTP

Connection methods

  • SMTP
  • Gem

Ruby on Rails delivers email via Action Mailer over SMTP, sendmail, or provider gems (mailgun-ruby, postmark-rails), with previews, interceptors, and ActiveJob queues.

Connect Rails (Action Mailer) to MailKite

Point Action Mailer's SMTP settings at MailKite's relay.

Point Rails (Action Mailer) at MailKite's SMTP relay

A minimal, copy-paste starter. Swap in your own domain and API key.

.env
# Any app that accepts an SMTP server works with MailKite
MAIL_HOST=smtp.mailkite.dev
MAIL_PORT=587 # STARTTLS (or 465 for TLS)
MAIL_ENCRYPTION=tls
MAIL_USERNAME=mailkite # username is ignored
MAIL_PASSWORD=mk_live_... # your MailKite API key
MAIL_FROM_ADDRESS=you@yourdomain.com # on a verified domain
MAIL_FROM_NAME=Rails (Action Mailer)
Read the SMTP relay reference
Email tools

Commonly paired with Rails (Action Mailer)

Connect Rails (Action Mailer) to MailKite today

Point a domain, set one SMTP endpoint, send your first email in minutes. Unlimited domains, no credit card.