By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,290 Members | 1,303 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,290 IT Pros & Developers. It's quick & easy.

How to Read 'Undeliverable mails'

P: n/a
Hello all, I am using
Outlook.Application object to read mails from outlook, i am having problems
reading 'Undeliverable mails', below is code :

Set oOutlook = New Outlook.Application
Set oNs = oOutlook.GetNamespace("MAPI")
Set oFldr = oNs.GetDefaultFolder(olFolderInbox)

oMessage as Outlook.MailItem
oMessage to read mail items from the mail Box.

For Each oMessage in oFldr.Items

next oMessage

with this i am able to loop and read all the mails , but the only problem is
with
'Undeliverable mails'

can anyone please let me know how to solve this problem.

early response is appericiated
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.