View Single Post
  #2  
Old January 12th 09, 03:14 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Add-in schedule delivery

Have you tried setting that property before the item.Send() event fires?
That's what you're doing if the property is set using the user interface.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"julianoAVARIT" u48757@uwe wrote in message news:8ffe635cc5753@uwe...
Hello everybody,

I work with c#.net 3.5 with VS2008. I am writing a Add-in for Outlook 2007
as
a client of Exchange server 2003 to schedule delivery messages. So, when
my
code run in the senditem event, I put the property mailItem.
DeferredDeliveryTime. The message goes to outbox folder and stay there
until
the correct time to send it.
The problem is, when ontime and the outlook sends the message, it keep the
original sent date. It doesnt happen when I do it on the outlook
interface,
in the message options. When I do it in the message options, the outlook
changes the sent date to the DeferredDeliveryTime when sends the message.
Does someone knows something about it?
Could it be something with the cached mode or synch?

Thanks!
Juliano
AVAR IT


Ads