Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var mailOptions = {
- ...
- html: 'Embedded image: <img src="cid:unique@kreata.ee"/>',
- attachments: [{
- filename: 'image.png',
- path: '/path/to/file',
- cid: 'unique@kreata.ee' //same cid value as in the html img src
- }]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement