when using template, plain text version is not sent
bitflorist opened this issue · 0 comments
bitflorist commented
I use a template object as an email template in the transport.
as soon as I use template, the plaintext version doesn't work anymore.
Neither of this versions are working to send a plaintext email beside the Mime content.
template: {
name: 'views/email.pug',
engine: 'pug',
context: contextObject,
text: `my Text and ${variable}`
}
or
text: `my Text and ${variable}`,
template: {
name: 'views/email.pug',
engine: 'pug',
context: contextObject,
}
thanks for any help!