Trouble attaching file with Microsoft Outlook node

Hi everyone,

Has anyone successfully used the Microsoft Outlook node to send emails with file attachments?

I’m currently trying to attach a PDF file, and while the binary data appears correctly in the previous node (I can see the file under the “Binary” tab as File), Outlook keeps throwing an error: “Required property is missing.”

I’ve made sure to set the “Input Data Field Name” in the attachments section to File, and the file is definitely present. Interestingly, the exact same setup works perfectly with the Gmail node.

Any ideas on what I might be missing?

Thanks in advance!

Hi @assafsab

Yes it’s working…

From your screenshot:

It looks like your binary file might be corrupted. Usually, if the file is valid, you’ll see a Download button…

The file is fine

How did you know?
are you able to download it?

  1. when you “view” it there is a option to download
  2. when i connect it to Gmail it works.

I still feel something might be wrong with the file, based on your screenshot, it doesn’t seem to have a name as well!

If you don’t mind, could you share the code node that generates the file?

By the way, attaching files in Outlook is working as expected:

This is a different screenshot now!

The previous screenshot was from a Code node, this one is from an HTTP node without any context!

Unfortunately, this isn’t helping me follow the problem.

I hope someone else can assist…

1 Like

Not solved yet