发件人和reply_to也需要国际化
faceair opened this issue · comments
faceair commented
"app_name notifications@example.com"
比如这里的app_name需要根据不同语言显示
Wang Ziting commented
这两个字段都是外面传进来的,可以在传进来之间进行国际化:
mailer.sendMail 'sample', 'jysperm@gmail.com',
id: 'EM42'
,
language: 'zh_TW'
send_from: mailer.t(language: 'zh_TW')('send_from')
, (err) ->
console.log arguments