Skip to content
background-image background-image

Example 3

All emails with transfer attchs set to active and ignore attchs linked from body set to active and filter on attch name set to active

Returns all emails (with or without attachments). Attachments linked from body (inline attachments inside html content - images, ...) will be ignored. All other attachments wil be filtered by value *.pdf.

Configuration

Property Value
Emails All untreated emails
Transfer attachments true
Ignore attachments linked from body true
Filter AttachmentName *.pdf

Returned data

[
    {
        "ID": "6ce41109e@intelstudios.onmicrosoft.com-730b4889-@AM7PR066.eurprd07.prod.outlook.com",
        "Subject": "Without attachments",
        "From": [
            {
                "Name": "Microsoft Outlook",
                "Address": "MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@intelstudios.onmicrosoft.com"
            }
        ],
        "To": [
            {
                "Name": "",
                "Address": "test@intelstudios.com"
            }
        ],
        "DateSent": "2022-08-26T09:27:16Z",
        "DateReceived": "2022-08-26T09:27:15Z",
        "BodyText": "some content",
        "Attachment": null
    },
    {
        "ID": "6ce411649e@intelstudios.onmicrosoft.com-730b4889-@AM7PR066.eurprd07.prod.outlook.com",
        "Subject": "With more attachments (inline and also attached)",
        "From": [
            {
                "Name": "Microsoft Outlook",
                "Address": "MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@intelstudios.onmicrosoft.com"
            }
        ],
        "To": [
            {
                "Name": "",
                "Address": "test@intelstudios.com"
            }
        ],
        "DateSent": "2022-08-26T09:27:16Z",
        "DateReceived": "2022-08-26T09:27:15Z",
        "BodyText": "some content",
        "Attachment": [
            {
                "Name": "priloha1.pdf",
                "IsInline": false,
                "Content": "c2FkZiBhc2Zhc2Ygb2lhbndvZiBhdw=="
            }
        ]        
    },
    {
        "ID": "6ce411649e@intelstudios.onmicrosoft.com-730b4889-@AM7PR066.eurprd07.prod.outlook.com",
        "Subject": "With only one attached attachment",
        "From": [
            {
                "Name": "Microsoft Outlook",
                "Address": "MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@intelstudios.onmicrosoft.com"
            }
        ],
        "To": [
            {
                "Name": "",
                "Address": "test@intelstudios.com"
            }
        ],        
        "DateSent": "2022-08-26T09:27:16Z",
        "DateReceived": "2022-08-26T09:27:15Z",
        "BodyText": "some content",
        "Attachment": [
            {
                "Name": "priloha2.pdf",
                "IsInline": false,
                "Content": "c2FkZiBhc2Zhc2Ygb2lhbndvZiBhdw=="
            }
        ]        
    },
    {
        "ID": "6ce411649e@intelstudios.onmicrosoft.com-730b4889-@AM7PR066.eurprd07.prod.outlook.com",
        "Subject": "With only one inline attachment",
        "From": [
            {
                "Name": "Microsoft Outlook",
                "Address": "MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@intelstudios.onmicrosoft.com"
            }
        ],
        "To": [
            {
                "Name": "",
                "Address": "test@intelstudios.com"
            }
        ],
        "DateSent": "2022-08-26T09:27:16Z",
        "DateReceived": "2022-08-26T09:27:15Z",
        "BodyText": "some content",
        "Attachment": null
    }
]