When this feature is on, you'll see message reminders at the top of your inbox that remind you to reply to messages you might have missed that are older than 3 days. GetSearchFolders Access the collection of search folders Global $oSearchFolder1 = $oSearchFolders ( "Unreplied" ) Access the search folder named "Mail to Read" - Get all mails from the search folder1 - Global $aItems = _OL _ItemFind ( $oOL, $oSearchFolder1, $olMail, "", "", "", "Subject,Body" ) _ArrayDisplay ( $aItems, "Unreplied mails" ) Global $oOL2 = _OL_Open() Global $oNamespace2 = $oOL2.GetNamespace("MAPI") Global $oDefaultStore2 = $oNamespace2.DefaultStore Access the default store Global $oSearchFolders2 = $oDefaultStore2.GetSearchFolders Access the collection of search folders Global $oSearchFolder2 = $oSearchFolders ( "Unreplied2" ) Access the search folder named "Mail to Read" - Get all mails from the search folder2 - Global $aItems2 = _OL _ItemFind ( $oOL, $oSearchFolder2, $olMail, "", "", "", "Subject,Body" ) _ArrayDisplay ( $aItems2, "Unreplied mails" ) Global $oO元 = _OL_Open() Global $oNamespace3 = $oO元.GetNamespace("MAPI") Global $oDefaultStore3 = $oNamespace3.DefaultStore Access the default store Global $oSearchFolders3 = $oDefaultStore3.Message reminders are another way to stay on top of your email. DefaultStore Access the default store Global $oSearchFolders = $oDefaultStore. GetNamespace ( "MAPI" ) Global $oDefaultStore = $oNamespace. #include Global $oOL = _OL _Open ( ) Global $oNamespace = $oOL.
This stripped down version should do the trick as well (untested): You do not need to multiply the whole code. GetSearchFolders Access the collection of search folders Global $oSearchFolder3 = $oSearchFolders3 ( "Unreplied3" ) Access the search folder named "Mail to Read" - Get all mails from the search folder2 - Global $aItems3 = _OL _ItemFind ( $oO元, $oSearchFolder3, $olMail, "", "", "", "Subject,Body" ) _ArrayDisplay ( $aItems3, "Unreplied mails" ) DefaultStore Access the default store Global $oSearchFolders3 = $oDefaultStore3. GetNamespace ( "MAPI" ) Global $oDefaultStore3 = $oNamespace3. GetSearchFolders Access the collection of search folders Global $oSearchFolder2 = $oSearchFolders2 ( "Unreplied2" ) Access the search folder named "Mail to Read" - Get all mails from the search folder2 - Global $aItems2 = _OL _ItemFind ( $oOL2, $oSearchFolder2, $olMail, "", "", "", "Subject,Body" ) _ArrayDisplay ( $aItems2, "Unreplied mails" ) Global $oO元 = _OL _Open ( ) Global $oNamespace3 = $oO元. DefaultStore Access the default store Global $oSearchFolders2 = $oDefaultStore2. GetNamespace ( "MAPI" ) Global $oDefaultStore2 = $oNamespace2. GetSearchFolders Access the collection of search folders Global $oSearchFolder = $oSearchFolders ( "Unreplied" ) Access the search folder named "Mail to Read" - Get all mails from the search folder1 - Global $aItems = _OL _ItemFind ( $oOL, $oSearchFolder, $olMail, "", "", "", "Subject,Body" ) _ArrayDisplay ( $aItems, "Unreplied mails" ) Global $oOL2 = _OL _Open ( ) Global $oNamespace2 = $oOL2.
Expand collapse popup Global $oOL = _OL _Open ( ) Global $oNamespace = $oOL.