The items will support the default properties of the base class (MailItem,
ContactItem, etc.) plus any custom properties you've added.
Quote:
> Thank you, now I am one step further. It is now possible to "scan" the
> mails, but some properties of an MailItem.Attachment are not
> available.
> My problem now is to know how to find out which properties are
> supported from my "new" object-class.
> >You should always check the Class of the items if you're working with
items
> >in the Inbox, since you may have items other than MailItem.
> >--
> >Sue Mosher, Outlook MVP
> >Author of
> > Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours
> > Microsoft Outlook 2000 E-mail and Fax Guide
> >Outlook and Exchange solutions at http://www.slipstick.com
> >> Hi NG.
> >> I want to print automaticly some certain "fax"-emails from the inbox
> >> on receiving. These fax-emails are sent from a fax-server connected to
> >> exchange5.5. If I use the rule wizard "print all incoming emails" the
> >> text of the email, a kind of fax report, also is printed as a kind of
> >> coverpage. So if I want to print faxes without this coverpage I have
> >> to use VB with Outlook.
> >> My problem is that the code works fine with any kind of email, but if
> >> I receive an fax-email I get a run-time error "type incompatible".
> >> Up to now I supposed every email in outlook is an items-object.
> >> Especially the fax-emails are just normal emails with an attached
> >> fax-file. But this can't be true if I get this run--time error.
> >> Does anybody know how to find out the object type of certain email
> >> types?
> >> Ciao
> >> Peter Schoettler
> Ciao
> Peter Schoettler