Creating "Sent" and "Received" messages in Exchange
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Creating "Sent" and "Received" messages in Exchange

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
proteus
Guest





Posted: Fri Dec 02, 2005 4:26 pm    Post subject: Creating "Sent" and "Received" messages in Exchange Reply with quote

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

Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
New Topics Powered by phpBB