proteus
Guest
|
Posted:
Fri Dec 02, 2005 4:26 pm Post subject:
Creating "Sent" and "Received" messages in Exchange |
|
|
Hello,
I'm trying to write a C# migration tool that should migrate mailboxes
and calendars from another groupware application to Exchange 2003. I
should point out that I'm new to both C# and Exchange.
I've been looking all over the Internet for a method to create messages
in mailboxes and set properties like ReceivedTime or SentOn
(CDO.Message), but no luck so far. Creating messages with something
like: newMsg = new CDO.Message(); ...
newMsg.DataSource.SaveToContainer(...); seems to work only if you want
to actually send a message, not when you want to create arbitrary
messages in the mailbox.
What I need is a method to create both "Sent" and "Received" messages
and set any property of such a message, which would allow me to "copy"
the e-mails from the other groupware system into Exchange.
If anyone has suggestion about how should I accomplish this, it would
be greatly appreciated.
Best regards,
Sebastian
|
|