Is it possible to set a flag on imap message which marks the message as "forwarded"?

asked 28 Mar '11, 11:30

martin's gravatar image

martin
745
accept rate: 0%


I'm afraid in general it is not possible. Marking message as "forwarded" is not defined as an "IMAP system flag" in RFC 2060. Rebex IMAP component supports system flags only (they are accessible through the Rebex.Net.ImapMessageFlags enumeration).

Some IMAP servers may offer an additional (non RFC) flag for marking messages as forwarded, but we don't know any IMAP server that does so (e.g. GMail or MS Exchange 2010 support standard system flags only).

You can mark messages as "forwarded" for internal purpose of your application by using Custom flags (also called Keywords) if your IMAP server supports it. Working with Keywords is described in another article. But be aware that the keywords are defined by YOU - other applications accessing the same IMAP server will probably not support that keywords.

link

answered 28 Mar '11, 21:21

Jan%20Sotola's gravatar image

Jan Sotola ♦♦
3566
accept rate: 36%

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
×17

Asked: 28 Mar '11, 11:30

Seen: 835 times

Last updated: 28 Mar '11, 21:21