You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any reason why this wouldn't work? Am I doing this correctly, or is it a bug? I'm trying to make my existing and working mailer to work with i18n translations.
# snippet from message_mailer.rbmailto: ENV['MAILER_USERNAME'],subject: t('message_mailer.new_message',message: @message.name),css: ['mailers/message']
# snippet from en.ymlenmessage_mailer:
new_message:
subject: "New message from %{name}"
And the rendered mailer shows a subject like so:
Subject:
{:subject=>"New message from %{name}"}
EDIT: I changed the config from letter_opener to smtp, and this does not seem to be an issue with letter_opener. The actual emails to my inbox reflect the same results as letter_opener. Can anyone help me figure out what I am doing wrong anyways?
The text was updated successfully, but these errors were encountered:
Any reason why this wouldn't work? Am I doing this correctly, or is it a bug? I'm trying to make my existing and working mailer to work with i18n translations.
And the rendered mailer shows a subject like so:
EDIT: I changed the config from letter_opener to smtp, and this does not seem to be an issue with letter_opener. The actual emails to my inbox reflect the same results as letter_opener. Can anyone help me figure out what I am doing wrong anyways?
The text was updated successfully, but these errors were encountered: