Hi,
moved over to 365 as my mail server, for sometime used Outlook to get the email but only ever had olMail object.
this was fine for
.SenderEmailAddress
.ReceivedTime
etc.
However rejected/undelivered/bounced email are under olReport
olReport so far I have only found .Subject
None of the others work.
Anyway to list the all, I would be happy just with the sender email & date/time.
Late binding & would try a references & then remove but prefer not too just in case it adds something that later messes with my distribution copies & also not sure it would auto complete this anyway.
Set oOutlook = CreateObject("Outlook.Application")
Set oNameSpace = oOutlook.GetNamespace("MAPI")
moved over to 365 as my mail server, for sometime used Outlook to get the email but only ever had olMail object.
this was fine for
.SenderEmailAddress
.ReceivedTime
etc.
However rejected/undelivered/bounced email are under olReport
olReport so far I have only found .Subject
None of the others work.
Anyway to list the all, I would be happy just with the sender email & date/time.
Late binding & would try a references & then remove but prefer not too just in case it adds something that later messes with my distribution copies & also not sure it would auto complete this anyway.
Set oOutlook = CreateObject("Outlook.Application")
Set oNameSpace = oOutlook.GetNamespace("MAPI")