Ah, another mailbox not your own. OK. That's a horse of a different color.
See if you can get the folder using NameSpace.GetDefaultFolder(recipient,
OlFoldersInbox) where recipient is a Recipient object created with your SMTP
email address. From there try the Items collection and iterating it.
See if that works.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Bill" wrote in message
...
Yes, I have forms published in the organizational forms library, but these
items are not custom forms. No mailboxes have been moved, although I am
trying to run this code on another email box, not my own. My rights and
permissions for the email box should be sufficient, but I think the fact
that it's running on this email box, and not the public folder for which I
am owner are the cause of the problem.