Is there a way to mark a message as read if a message was sent to this message?
Example: this is my emailRE: this is my email
Can I mark both as read?
The appearance of MailItem has the .UnRead property:
MailItem
.UnRead
Gets or sets the boolean True if the Outlook item has not been opened (read). Read / write.
http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._mailitem.unread.aspx
Assuming you have a handle to these mail items, just set their appropriate .UnRead = False to mark them read.
.UnRead = False
olMail.UnRead = False
WHERE OLMYLE MAIL ITEM
Source: https://habr.com/ru/post/974337/More articles:Best way to build a 3D matrix in python - pythonAngularJS select: remove empty option and use data objects, not arrays - angularjsC ++ 11: Templated wrapper function - c ++Python three-dimensional surface matplotlib - pythonHow to use Redis with Koa (node.js) - javascriptCL_MEM_USE_HOST_PTR Vs CL_MEM_COPY_HOST_PTR Vs CL_MEM_ALLOC_HOST_PTR - openclPostGIS scripting on Amazon RDS Postgres - postgresqlWhy does unique_ptr have a nullptr_t constructor? - c ++Show growl using javascript - javascriptQt Stream Audio over TCP Connector in Real Time - streamAll Articles