Explorar o código

Better reply to for checks

Andrew Kane %!s(int64=8) %!d(string=hai) anos
pai
achega
e121098877
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/mailers/blazer/check_mailer.rb

+ 1 - 1
app/mailers/blazer/check_mailer.rb

@@ -10,7 +10,7 @@ module Blazer
       @state_was = state_was
       @rows_count = rows_count
       @error = error
-      mail to: check.emails, subject: "Check #{state.titleize}: #{check.query.name}"
+      mail to: check.emails, reply_to: check.emails, subject: "Check #{state.titleize}: #{check.query.name}"
     end
 
     def failing_checks(email, checks)