Skip to content

Commit

Permalink
Remember kids. Don't copy and paste code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Dec 12, 2011
1 parent e3b246d commit a04c784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mailer.rb
Expand Up @@ -2,12 +2,12 @@

if ENV['MAILGUN_SMTP_LOGIN'] && ENV['MAILGUN_SMTP_PASSWORD']
ActionMailer::Base.smtp_settings = {
:port => ENV['MAILGUN_SMTP_PORT']
:port => ENV['MAILGUN_SMTP_PORT'],
:address => ENV['MAILGUN_SMTP_SERVER'],
:user_name => ENV['MAILGUN_SMTP_LOGIN'],
:password => ENV['MAILGUN_SMTP_PASSWORD'],
:domain => 'tweetmycouncil.herokuapp.com',
:authentication => :plain,
:authentication => :plain
}
else
# Send to Mailcatcher for development because it rocks!
Expand Down

0 comments on commit a04c784

Please sign in to comment.