I have a list of emails to work through, saved as newEmail1, variable type System.Collection.Generic.List<System.Net.Mail.Message>. Until recently it was working, now I’m getting this error:
I’ve tried changing the TypeArgument but I’m still getting the same error - does anyone know why please?
Please note that I can’t use the For Each Email in the Use Desktop Outlook App as my work doesn’t allow the additional access required for it to work, so this is (I think) my only option
Can you try changing the typeArgument from Properties to System.Net.Mail.MailMessage.
Hoping that your variable newEmail1 is of MailMessage (Array of Mails)
that should help!
lets scope this topic to only one case (for each typeargument) as other researchers can easier find answers for their similar case.
For the second question, the hint is Trust Center and maybe interaction with your IT Team. You can try enable all … setting
And also check Programmatic Access setting - no warnings