Closed onajourney closed 1 year ago
If you want to modify the to
, then you need to modify mail.message
, not mail.data
, see https://nodemailer.com/plugins/create/#compile.
@titanism It seems the package is actually honoring the changes I made through mail.data
at compile - however the preview is not showing those changes.
Not sure how that might be fixed - maybe transport has events you could use to run the preview after changes are made?
Anyways, my issue is resolved.
Describe the bug
Node.js version: v14.20.0
OS version: Windows 10 Home
Description: Unable to update email information through transporter plugin.
Actual behavior
Changes through plugin are ignored
Expected behavior
Able to make changes to emails content
Code to reproduce
Checklist