Kaynağa Gözat

adds GMAIL_USERNAME to systemmailer

Robert Whitney 12 yıl önce
ebeveyn
işleme
76c310ae85
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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]