Last active
February 26, 2016 19:01
-
-
Save brandonmwest/7f04c80003b983567678 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ack MANDRILL_APP | |
models/email.rb | |
186: user_name: ENV['MANDRILL_USERNAME'], | |
187: password: ENV['MANDRILL_APIKEY'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ heroku addons:create sendgrid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ heroku addons:destroy mandrill |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def self.default_smtp_options | |
{ | |
from: "Glenn @ ContentFocus <[email protected]>", | |
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' | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def self.default_smtp_options | |
{ | |
from: "Glenn @ ContentFocus <[email protected]>", | |
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 | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ heroku addons:open sendgrid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment