浏览代码

adds GMAIL_USERNAME to systemmailer

Robert Whitney 12 年之前
父节点
当前提交
76c310ae85
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/mailers/system_mailer.rb

+ 1 - 1
app/mailers/system_mailer.rb

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