Hello.

We faced with one more issue with Rebex Imap component. When we get info about the email through code like this:

ImapMessageInfo messageInfo = _imap.GetMessageInfo(uniqueId, ImapListFields.FullHeaders | ImapListFields.MessageStructure);

var messageParts = messageInfo.GetParts();

we can see, that the email contains set of (image) attachments, that has kind ImapMessagePartKind.LinkedResource

The issue is that when we get the same email through _imap.GetMailMessage(uniqueId),

attachment collection count is 0.

What should we do to get linked resources objects through in MailMessage object?

asked 28 Jun '11, 12:34

_Oz_'s gravatar image

_Oz_
151
accept rate: 0%


Linked resources are stored within the LinkedResourceCollection class. Please use the MailMessage.Resources property instead of the MailMessage.Attachments one.

link

answered 28 Jun '11, 14:09

Lukas%20Matyska's gravatar image

Lukas Matyska ♦♦
90117
accept rate: 28%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×76

Asked: 28 Jun '11, 12:34

Seen: 591 times

Last updated: 28 Jun '11, 14:09