Skip to content
background-image background-image

Example 2

All emails with transfer attchs set to active and ignore attchs linked from body set to inactive

Returns all emails (with or without attachments). Attachments linked from body (inline attachments inside html content - images, ...) will be also returned.

Configuration

Property Value
Emails All untreated emails
Transfer attachments true
Ignore attachments linked from body false

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=="
            },
            {
                "Name": "img_arrow-right.png",
                "IsInline": true,
                "Content": "c2FkZiBhc2Zhc2w=="
            },
            {
                "Name": "priloha2.png",
                "IsInline": false,
                "Content": "2FkZiBhc2Zhc2Ygb2lhbndvZiBh2FkZiBhc2Zhc2Ygb2lhbndvZiBh2FkZiBhc2FkZiBhc2Zhc2w=="
            }
        ]        
    },
    {
        "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": [
            {
                "Name": "img_arrow-right.png",
                "IsInline": true,
                "Content": "c2FkZiBhc2Zhc2w=="
            }
        ]        
    }
]