Allow User objects in Bcc, Cc Reply-To, Sencer and To mail fields
This commit is contained in:
parent
04bf994c9a
commit
b5c9634315
2 changed files with 14 additions and 8 deletions
|
|
@ -12,7 +12,7 @@ class MessagesMailer < Mailer
|
|||
end
|
||||
|
||||
mail subject: message.subject,
|
||||
to: recipient.email,
|
||||
to: recipient,
|
||||
from: "#{show_user(message.sender)} via #{I18n.t('layouts.foodsoft')} <#{FoodsoftConfig[:email_sender]}>",
|
||||
reply_to: reply_to
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue