Issue with attachment in email node

Hello,

I have been using the email node-red-node-email node in my flows and I upgraded it to 1.8.3 and it has stopped sending attachments.

I grabbed another mail node (email-out) and it still works with that

Node-Red Version: 1.2.9
OS: Windows
Sending a small text/csv file

This is in my function node:

msg.attachments = {
            filename: "Query.txt",
            path: "C:\\temp\\Query.txt" // stream this file
};

Thanks
Mick

Attachments needs to be an array

Take a look here : Email with 3 attachments?

ahh yes, thanks for your help, sorted now

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.