|
Hello, We are using currently Rebex IMAP for one of our products. We also want to use Rebex for the connections to Microsoft Exchange Server over IMAP protocoll. While doing that we need to add extra properties (etc. data, not attachment for example, a string array) to mails which are sent/received over exchange server. Is there any possibility to add Rebex Mails/MIMEs extra information? If yes, do you have any information about if Exchange Server is capable of saving this information in its message database. Thanks in advance. Best Regards, Evren Günay |
|
1) You can use IMAP keywords functionality to assign keywords (or tags) to mail messages. Using this to store arbitrary data is not really possible. or 2) You can add extra information into custom headers of an e-mail – However, adding a custom header using the IMAP protocol is very problematic – IMAP doesn't make it possible to modify a message at the mail server, so the only way to add a header is to:
The problem with this is that we are not actually modifying a message, but creating a modified copy of it. This means that any Exchange-only properties associated with the message (which are not accessible using the IMAP protocol) will disappear. This might be undesirable. It turned out that custom headers are actually not preserved very well by Microsoft Exchange Server. The reason for this is that Exchange doesn't store raw MIME messages in its database, but converts them to its internal MAPI format. And this conversion is obviously not lossless. So the method described here only works safely on non-Exchange IMAP servers that store the raw MIME message.
(04 May '10, 12:06)
Lukas Pokorny ♦♦
|