We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to get reply message

I want to get last reply message in email. How can i get this? Also reply message might contain image content, i need get this.
For example i am sending an email to you, in this email i just want to take "
<m:mathFont m:val=“Cambria Math”/>
<m:brkBin m:val=“before”/>
<m:brkBinSub m:val="–"/>
<m:smallFrac m:val=“off”/>
<m:lMargin m:val=“0”/>
<m:rMargin m:val=“0”/>
<m:defJc m:val=“centerGroup”/>
<m:wrapIndent m:val=“1440”/>
<m:intLim m:val=“subSup”/>
<m:naryLim m:val=“undOvr”/>
<![endif]–>Hi,This is an test for aspose!" text and image. Thanks,

Hi Ahmet,

Thank you for contacting Aspose support team.

It is not possible to extract the last reply text from this message as the message structure doesn’t contain any hard boundaries between the replies. However, you can extract the image from the message that is actually a Linked Resource in the message.

Sample Code:

MailMessage msg = MailMessage.Load(“RE test.msg”);

foreach (LinkedResource lr in msg.LinkedResources)