Ruby on Rails
Integrating Amply with Ruby on Rails is easy and can be done in just a few minutes.
Configure ActionMailer
You can configure all environments in the config/environment.rb file, or a single environment (development, production, or test) in config/environments/environment.rb:
Rails.application.configure do
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
user_name: 'your_amply_smtp_username',
password: 'your_amply_access_token',
domain: 'yourdomain.com',
address: 'smtp.sendamply.net',
port: 587,
authentication: :plain,
enable_starttls_auto: true
}
end
You can find your SMTP username from your General Settings page.
That's it! All mail sent by your app will be routed through Amply servers.
Updated 12 months ago
Whatβs Next