How to obtain internet headers from Outlook without using any Marketplace activity

Hi All,

I am not allowed to use Marketplace activities. Is there another way to fetch internet headers from outlook mail?

Hi @miglani18,

Welcome to the community.

You want to receive data with internet extension in the mails, is it correct?


Hi @muhammedyuzuak

There is already a solution but it involves library from Marketplace. As I mentioned, I am not allowed to use that. Looking for a workaround. Thanks!

I don’t know if this is the best solution.

For each header you get, check for links using regex and extract it.

The issue is to extract internet headers(diff from mail headers). Unfortunately, that’s not the solution.

@ppr Can you please look into this? If there’s something please share.

Hello @miglani18

Have you gone through the below post.

But here the conversion from mailmessage to mailitem needs to be explorered without using custom acitvity.

Hi Rahul,

I have seen this post. That’s what i am looking for. Convert mailmessage to mailitem without custom activity as I am not allowed to use that.

@Rahul_Unnikrishnan @muhammedyuzuak Thankyou both for your time.

Issue is resolved now as I was able to write code for the entire piece.

The code fetches mail item as per Message ID and extracts Internet Headers from it.

Hi @miglani18 ,

It would be better if you could provide the solution that you have used, so that it would be helpful for others having the similar kind of problems.

You could also close this topic by marking it as the solution.

FetchInternetHeader.txt (2.1 KB)

PFA the file for the fetching internet headers from outlook mail. This works for email in a shared mailbox as well.

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