Mailgun hidden
Send, Track, Receive, Parse and Store email effortlessly.
Mailgun offers:
- Optimized, scalable delivery of emails to inbox.
- Intelligent incoming email parsing and HTTP-based push-to-app service.
- Marketing-grade email campaign analytics.
- Real-time mail logs with search.
- Programmable mailboxes with support for POP3 and IMAP.
- Multiple email domains per account.
In addition to standard email services, Mailgun allows for more advanced messaging capabilities such as: * Mailing lists with customer defined template variables. * Server-side MIME assembly: allows developers to assemble and send complex messages without any 3rd party libraries. * Scheduled delivery. * Control over message priority. * Powerful message forwarding/filtering language for intelligent handling of incoming traffic. * Quotation removal and signature detection for incoming emails. * Sending in testing mode.
Free PlanFree |
|
Basic$19 per month |
|
Pro$79 per month |
|
This code snippet assumes you are using bundler and Rails, and deploying to production.
modify your Gemfile
gem 'ey_config'
modify config/environments/production.rb
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true
config.action_mailer.smtp_settings = {
:authentication => :plain,
:address => "smtp.mailgun.org",
:port => 587,
:domain => EY::Config.get(:mailgun, 'MAILGUN_DOMAIN'),
:user_name => EY::Config.get(:mailgun, 'MAILGUN_SMTP_USER'),
:password => EY::Config.get(:mailgun, 'MAILGUN_SMTP_PASSWORD')
}
For more details, see Mailgun Documentation.