Reading emails & email headers from Outlook mail using C# – Part II
So in my previous part, I showed you how you can read header of an email from a PST file by specifying a particular header name (e.g. CC List, TO list, Subject, From etc), however, our requirement was to make the email message RFC 822 compliant but when you try to read header of an email item you wont be able to find all header in email item object, so here’s is the only way that you can read all headers in just one GO…
These two lines will provide you all headers of a particular item. Hopefully this will help you all in reading emails from Outlook (PST) file and making them RFC 822 compliant.
Happy coding dudes! Thanks
- Posted in: Uncategorized