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
save attachment first msg file (attachment.saveasfile), open msg file using namespace.openshareditem.
if using redemption option, allows access embedded message attachment directly using rdoattachment.embeddedmsg property.
Comments
Post a Comment