![]() |
One simple question
Hi,
I just touch 2008 vs c#, meet a question about outlook addsin: I want to delete all same mail in Inbox, so I use “Items Object”, I can obtain a mail using "Item and GetNext" methods, but I didn't obtain properties of the email, such as time, subject, etc. How I do? thks in advance clay |
One simple question
If you are getting a MailItem use the MailItem properties: mail.Subject,
etc. Look in the Object Browser to see the properties on various items. Check for item.Class = olMail, since items in the Inbox can be other things besides mail items (post, meeting and task requests, etc.). If that doesn't help show the code you're using to iterate the Items collection. -- 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 "clay" wrote in message ... Hi, I just touch 2008 vs c#, meet a question about outlook addsin: I want to delete all same mail in Inbox, so I use “Items Object”, I can obtain a mail using "Item and GetNext" methods, but I didn't obtain properties of the email, such as time, subject, etc. How I do? thks in advance clay |
All times are GMT +1. The time now is 03:43 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2006 OutlookBanter.com