Nodemailer v1.2.0 Release Notes
Release Date: 2014-08-18 // over 9 years ago-
👍 Allow using encoded strings as attachments. Added new property
encoding
which defines the encoding used for acontent
string. If encoding is set, the content value is converted to a Buffer value using the defined encoding before usage. Useful for including binary attachemnts in JSON formatted email objects.