Home

Insert Custom Message Header value in an email

%3CLINGO-SUB%20id%3D%22lingo-sub-280956%22%20slang%3D%22en-US%22%3EInsert%20Custom%20Message%20Header%20value%20in%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280956%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEnvironment%3A%20Exchange%20Online%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20Insert%20Custom%20value%20in%20the%20Message%20Header%20of%20an%20email%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDematri%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-280956%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-282732%22%20slang%3D%22en-US%22%3ERe%3A%20Insert%20Custom%20Message%20Header%20value%20in%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-282732%22%20slang%3D%22en-US%22%3E%3CP%3Ethere%20are%20some%20examples%20in%20the%20article%20above.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-282620%22%20slang%3D%22en-US%22%3ERe%3A%20Insert%20Custom%20Message%20Header%20value%20in%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-282620%22%20slang%3D%22en-US%22%3E%3CP%3EAny%20article%20that%20you%20shared%20that%20provides%20the%20approach%20of%20how%20to%20get%20it%20tested%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-282138%22%20slang%3D%22en-US%22%3ERe%3A%20Insert%20Custom%20Message%20Header%20value%20in%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-282138%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20general%20yes%2C%20but%20depends%20on%20the%20header.%20Some%20headers%20will%20be%20stripped%2Foverwritten%20by%20the%20server%2C%20you%20cannot%20for%20example%20%22forge%22%20and%20antispam%20header%2C%20etc.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-282085%22%20slang%3D%22en-US%22%3ERe%3A%20Insert%20Custom%20Message%20Header%20value%20in%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-282085%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Vasil....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20I%20should%20have%20added%20earlier%20-%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20add%20the%20sender%20address%20to%20an%20existing%20message%20header%20value%20(type%3A%20X-Protective)%3C%2FP%3E%3CP%3EHere%2C%20sender%20address%20will%20change%20based%20on%20the%20sender%20id.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20suggestion%20will%20be%20of%20great%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280984%22%20slang%3D%22en-US%22%3ERe%3A%20Insert%20Custom%20Message%20Header%20value%20in%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280984%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20via%20Transport%20rules%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fsecurity-and-compliance%2Fmail-flow-rules%2Fmail-flow-rule-actions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fsecurity-and-compliance%2Fmail-flow-rules%2Fmail-flow-rule-actions%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Hello,

 

Environment: Exchange Online

Is it possible to Insert Custom value in the Message Header of an email?

 

Regards,

 

Dematri

5 Replies

Thanks Vasil....

 

Sorry I should have added earlier - 

 

Is it possible to add the sender address to an existing message header value (type: X-Protective)

Here, sender address will change based on the sender id.

 

Any suggestion will be of great help.

In general yes, but depends on the header. Some headers will be stripped/overwritten by the server, you cannot for example "forge" and antispam header, etc.

Any article that you shared that provides the approach of how to get it tested?

there are some examples in the article above.

Related Conversations
Conditional Formatting - Consider Only Value as Lowest Value
Ben Smith in Excel on
2 Replies
Delete Messages Teams
cvillanueva in Microsoft Teams on
1 Replies
Email Domain for Posts to a Channel
Jim Hill in Microsoft Teams on
17 Replies
iOS Native VS Outlook
Daniel Schmidt in Microsoft Intune on
7 Replies
Receiving emails is delayed
Kristen_100 in Microsoft Teams on
1 Replies