Browse Source

adds GMAIL_USERNAME to systemmailer

Robert Whitney 12 years ago
parent
commit
76c310ae85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/mailers/system_mailer.rb

+ 1 - 1
app/mailers/system_mailer.rb

@@ -1,5 +1,5 @@
 class SystemMailer < ActionMailer::Base
 class SystemMailer < ActionMailer::Base
-  default from: "huginn@your-google-apps-domain.com"
+  default from: ENV['GMAIL_USERNAME']
 
 
   def send_message(options)
   def send_message(options)
     @lines = options[:lines]
     @lines = options[:lines]