Browse Source

Use default email sender address from environment var

master
Adrian Short 11 years ago
parent
commit
76cf9e4b9b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/mailers/user_mailer.rb

+ 1
- 1
app/mailers/user_mailer.rb View File

@@ -1,5 +1,5 @@
class UserMailer < ActionMailer::Base
default from: "from@example.com"
default from: ENV['APOLLO_EMAIL_FROM'] || "from@example.com"

# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:


Loading…
Cancel
Save