python - How to extract internet email headers from outlook emails? -


i trying extract following details outlook emails. 1. 2. 3. reply - 4. return path
5. x-agari original sender 6. x-agari original receiver 7. x-originating ip have tried python exchangelib, win32com.client not extract details. can 1 me please?

try using headerparser module. allows parse through html in python find headlines , headers , such.

https://docs.python.org/3/library/email.parser.html


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -