How it works
Supercharge Action Mailer with the official Mailtrap gem. Integrate in minutes to send emails with high reliability and track their performance with detailed analytics.

Configure
Step 1: Create a Mailtrap account, verify your domain, and get the API token.
Step 2: Install Mailtrap with a $ gem install mailtrap command.
Step 3: Send emails, below you’ll find a Ruby on Rails example.
# place this code in config/environments/production.rb:
config.action_mailer.delivery_method = :mailtrap
# then set the MAILTRAP_API_KEY environment variable
# using your hosting solution.
For more details and examples, check the official GitHub repo.
Supported functionality
- Email sending – transitional and bulk
- Batch sending
- Contacts and contacts lists management
- Templates management
- Sending domains management
- Sending and getting sandbox emails
- Managing sandbox projects