Hi Guys
I am using the latest demo version of Aspose Network. Trying to view email messages via IMAP.
I am retrieving the mail message successfully but when I view the HTML body of the email in a Rad Editor (HTML) control any embedded images are missing. Is there a way to ensure the images are displayed?
=================================================================
’ get the message info collection
Dim list As ImapMessageInfoCollection = client.ListMessages()
For Each Item In list
Dim ImapMsg As MailMessage = client.FetchMessage(Item.SequenceNumber)
Dim ca As New ExchangeEmails
ca.EmailID = Item.UniqueId
If Item.IsRead = True Then
ca.IsRead = False
Else
ca.IsRead = True
End If
ca.From = Item.From.Address
ca.Size = Item.Length
If Item.Subject <> Nothing Then
ca.Subject = Item.Subject
End If
If Item.Date <> Nothing Then
ca.DateTimeCreated = Item.Date
End If
If ImapMsg.Date <> Nothing Then
ca.DateTimeReceived = ImapMsg.Date
End If
If ImapMsg.HtmlBody <> Nothing Then
ca.Body = ImapMsg.HtmlBody
End If
MyEmail.Add(ca)
Thanks
Garreth