Skip to content

Commit

Permalink
add reply-to field to user UserMailer
Browse files Browse the repository at this point in the history
  • Loading branch information
hesslau committed Feb 10, 2020
1 parent 8e25de0 commit 9e07971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/mailers/user_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def contact(sender:, resource_id:, text:)
@receiver = User.find resource_id
@text = text
@subject = I18n.t('email.user.contact.subject', sender_name: @sender.name)
mail to: @receiver.email, subject: @subject
mail to: @receiver.email, subject: @subject, reply_to: @sender.email
end
end

0 comments on commit 9e07971

Please sign in to comment.