Код: Выделить всё
let mailConfig = {
from: Testing,
html: doL,
subject: Testing,
to: email,
attachments: [
{ // file on disk as an attachment
filename: 'logo.png',
path: 'logo.png',
cid: 'logo',
}
]
};< /code>
[img]cid:logo[/img]
Подробнее здесь: https://stackoverflow.com/questions/673 ... attachment