What is the difference between MailItem.Submitted and MailItem.Sent

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

What is the difference between MailItem.Submitted and MailItem.Sent
 
nwein




Posts: 510
Joined: 2011-03-28
Not really sure what's the difference. MSDN states that
Sent Returns a Boolean (bool in C#) value that indicates if a message has been sent. Read-only. (Inherited from _MailItem.)
Submitted Returns a Boolean (bool in C#) value that is True if the item has been submitted. Read-only. (Inherited from _MailItem.)

How do these differ from each other?
Posted 21 Jan, 2015 12:45:35 Top
Andrei Smolin


Add-in Express team


Posts: 14713
Joined: 2006-05-11
Nir,

Here's a citation from http://www.outlookcode.com/threads.aspx?forumid=2&messageid=25782:


An unsent message, however, will have both Submitted and Sent = False. A sent message that has not yet spooled to the transport provider would have Submitted = True and Sent = False.


Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 22 Jan, 2015 04:25:04 Top
nwein




Posts: 510
Joined: 2011-03-28
Thanks, much clearer now (sure wish Microsoft would have described it better on their documentations...)
Posted 22 Jan, 2015 10:19:49 Top
Andrei Smolin


Add-in Express team


Posts: 14713
Joined: 2006-05-11
Hello Nir,

Yes, the documentation has many problems. Still, I think it is definitely among the best documentations they ever wrote. I may be biased though.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 23 Jan, 2015 03:43:14 Top