It depends on what you are sending, for example a MailItem has differing properties to a TaskItem etc (which is why I'd imagine it's declared as an Object rather than an explicit type of Item).
The best way to find out an item's properties is to look in the object browser (F2), select Outlook from the drop down box and then look at the different available items in the list on the left.
General e-mails are sent as MailItem's so that would be a good place to start looking.
You can also check the type of the Item is what you're expecting using:
Code:
If TypeOf Item Is Outlook.MailItem Then 'this checks it's a MailItem
Hope this helps
HarleyQuinn
---------------------------------
Black coat, white shoes, black hat, cadillac. The boy's a timebomb!
You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman
Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before post
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.