Hello,
I try to read custom headers from a mail that I add the headers: IdCommunication.
When I check my mail in Outlook I see my header "IdCommunication" with the good value. But when I examine my mail with Imap my header is not there.
I try to check in:
IMail.Headers
IMail.Document.Headers
IMail.Document.Root.Headers
I create other mails with different headers like:
x-IdCommunication
X-IdCommunication
xIdCommunication
XIdCommunication
And when I use Imap.Search(Expression.HasHeader("IdCommunication")), my mail is found but don't see my header in IMail.
How can I retrieve my header with his value?