Hello Aspose,
Hi,
Following are the comments against each requirement:
Ashpak Saiyed:
[1] Can we get different E-mail Body Part thru Aspose API like if I need to get Email BodyPart format Text OR HTML part. Is there any provision thru Aspose API ?
Comments:
MailMessage provides HtmlBody, HtmlBodyText, IsBodyHtml and BodyType. Please use these properties to extract the required information.
MapiMessage provides Body, BodyHtml, BodyRtf and BodyType. Please use these properties for the required information.
Ashpak Saiyed:
[2] Can we set Authentication mode [e.g. plain authentication] while connecting to server thru POP3 Client OR IMAP client?
Comments:
You may please use SecurityOptions enumerator values to select the required mode. ‘SSLExplicit’ option can be used for TLS, where as ‘SSLImplicit’ is for SSL mode. For non secure mode, please use ‘None’ and for automatic mode selection, ‘Auto’ option should be used.
Ashpak Saiyed:
[3] Also Can we set different Flag Values for message like seen, None etc.
Comments:
Refer
[here](http://www.aspose.com/docs/display/emailnet/Changing+the+Message+Flags)
to change the message flags. You can change message flags by using the ImapClient.ChangeMessageFlags() method. This method takes two parameters.
- The message’s sequence number or unique ID.
- MessageFlag.
The following flags can be set:
- Answered
- Deleted
- Draft
- Empty
- Flagged
- IsRead
- Readed
- Recent
Please feel free to write us back if you have any other query in this regard.
Thank you Muhammad Waqas for your quick reply and suggestions. We will try to accommodate suggested changes in our application.
Hello Aspose Team,
Hello Aspose Team,
Hi Ashpak,