outlook - How to read html body of attachment that is mail message in C#? -


so problem need html body of mail attachment,but don't know start. tried (mailitem)attachment, searched in attachments properties,saving file , retrieving data didn't work me eather. maybe possible retrieve data propertyaccessor?

the main question how retrieve html body of attachment(that .msg/.eml type)?

you can

  1. save attachment first msg file (attachment.saveasfile), open msg file using namespace.openshareditem.

  2. if using redemption option, allows access embedded message attachment directly using rdoattachment.embeddedmsg property.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -