Send With Confidence
Partner with the email service trusted by developers and marketers for time-savings, scalability, and delivery expertise.
Time to read: 2 minutes
$ heroku addons:destroy mandrill |
Partner with the email service trusted by developers and marketers for time-savings, scalability, and delivery expertise.
$ heroku addons:create sendgrid |
$ heroku addons:open sendgrid |
$ ack MANDRILL_APP | |
models/email.rb | |
186: user_name: ENV['MANDRILL_USERNAME'], | |
187: password: ENV['MANDRILL_APIKEY'], |
def self.default_smtp_options | |
{ | |
from: "Glenn @ ContentFocus <team@contentfocus.io>", | |
via: :smtp, | |
via_options: { | |
address: 'smtp.mandrillapp.com', | |
port: '587', | |
enable_starttls_auto: true, | |
user_name: ENV['MANDRILL_USERNAME'], | |
password: ENV['MANDRILL_APIKEY'], | |
domain: 'contentfocus.io', | |
authentication: 'login' | |
} | |
} |
def self.default_smtp_options | |
{ | |
from: "Glenn @ ContentFocus <team@contentfocus.io>", | |
via: :smtp, | |
via_options: { | |
address: 'smtp.sendgrid.net', | |
port: '587', | |
enable_starttls_auto: true, | |
user_name: ENV['SENDGRID_USERNAME'], | |
password: ENV['SENDGRID_PASSWORD'], | |
domain: 'contentfocus.io', | |
authentication: :plain | |
} | |
} |