Get Outlook Mail Message with filter HasAttachments

Hi there,

In the Get Outlook Mail Message, I try to use the filter HasAttachments to load only the email with attachments. However I am not sure what the right syntax should be as it is a Boolean operation.

My syntax: “[HasAttachments]=‘true’” give the follow error:
Get outlook mail messages: The property “HasAttachments” is unknown.

Can any experts give an advice on this ?

Thanks
Snowman

Hi @Snowman,

Please try :

image

–Mukesh

2 Likes

Hi Mukesh,

Thanks a lot for your prompt assistance and it should work.

However since there could be lots of emails there, preferably only load those email with attachments. Is there a way in the Filter options to filter out those emails without attachments ?

Thanks

Hi @Snowman,

I hope this will help you,

use this as a filter —> "@SQL= urn:schemas:httpmail:hasattachment=true"

3 Likes

I haven’t Tried applying Filter on the GetOutlook Email , I will try that and If i get success - will post :slight_smile:

Meanwhile lets wait for some more replies …


Mukesh

Hi Samir,

Thanks, and your syntax works!

Snowman

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