feat(mail): from and link with host for recipient in dossier_mailer

This commit is contained in:
Colin Darie 2024-03-27 09:16:40 +01:00
parent 3512e071d3
commit f8a9e72aa2
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
7 changed files with 75 additions and 9 deletions

5
spec/support/mailer.rb Normal file
View file

@ -0,0 +1,5 @@
# frozen_string_literal: true
def header_value(name, message)
message.header.fields.find { _1.name == name }.value
end