Link to home
Start Free TrialLog in
Avatar of Arikkan
ArikkanFlag for United States of America

asked on

Distinguish between autoforwarded and forwarded emails

I want to distinguish between auto forwarded emails from someone (Auto forward rule) and manually forwarded emails from that person (Forwarded by pressing forward button manually). I don't want to look at the email content for this information.
Maybe I find this information in the email header.

Any ideas on how to do this using code?
Avatar of Professor J
Professor J

for auto forwarded emails when you view the email. Just above the "From" section but just below the ribbon, it says something like: "This message was AutoForwarded."
Avatar of Arikkan

ASKER

I just auto forwarded an email from my Gmail account to Company account.
In outlook, the email does NOT say "This message was AutoForwarded."

Any ideas?
ALL my regular mail is Auto Forwarded to me. The mail just says (in Properties) came from where is was forwarded.

I do not think you can tell. Nothing really different between my forwarded mail and non forwarded mail.
Avatar of Arikkan

ASKER

There should be a standard way to do this. I know that it is possible, but I am not getting the solution.
I have had emails daily forwarded to me for years and there is no distinction.

Please say why and give us a reference why you know it is possible.
ASKER CERTIFIED SOLUTION
Avatar of Arikkan
Arikkan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That's helpful. You have to build special emails. None of my forwarded emails have an X-Forwarded-For header. So it is only your special emails that will work.
Avatar of Arikkan

ASKER

This works