Skip to content
Browse files

Add reply_to to notification emails. #81.

  • Loading branch information...
1 parent eed3f55 commit 44ded64e10215405c3d20bc2efd034c4d85ebfea @ugisozols ugisozols committed Apr 17, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 app/mailers/refinery/inquiries/inquiry_mailer.rb
View
7 app/mailers/refinery/inquiries/inquiry_mailer.rb
@@ -12,9 +12,10 @@ def confirmation(inquiry, request)
def notification(inquiry, request)
@inquiry = inquiry
- mail :subject => Refinery::Inquiries::Setting.notification_subject,
- :to => Refinery::Inquiries::Setting.notification_recipients,
- :from => "\"#{Refinery::Core.site_name}\" <no-reply@#{request.domain}>"
+ mail :subject => Refinery::Inquiries::Setting.notification_subject,
+ :to => Refinery::Inquiries::Setting.notification_recipients,
+ :from => "\"#{Refinery::Core.site_name}\" <no-reply@#{request.domain}>",
+ :reply_to => inquiry.email
end
end

0 comments on commit 44ded64

Please sign in to comment.
Something went wrong with that request. Please try again.