How to create an item in the Sent Items folder?

Add-in Express™ Support Service
That's what is more important than anything else

How to create an item in the Sent Items folder?
 
Esteban Astudillo




Posts: 146
Joined: 2006-02-27
I’ve been trying some code to copy mail items to the Sent Items folder. I’m able to create the new item in the folder, but the “SentOn” and “Sent” properties of these new items are not set giving the users the impression that they should send those items.

Do you know of a way to set the “SentOn” value?

Thanks in advance
Posted 27 Mar, 2006 20:16:14 Top
Brad Smith




Posts: 49
Joined: 2005-11-22
Um, are you trying to create and send a message? Just copying an item into Sent Items won't cause it to actually be sent. The Sent & SentOn properties are read-only. You don't set them, Outlook sets them when it sends the message.

Brad.
Posted 28 Mar, 2006 10:12:09 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
Hi Esteban.

I agree with Brad. These properties are set by Outlook while it sends messages.
Posted 28 Mar, 2006 10:46:21 Top
Esteban Astudillo




Posts: 146
Joined: 2006-02-27
Understood. Thank you both for your input.
Posted 28 Mar, 2006 10:49:58 Top