Open Unread Outlook Emails - With Attachments

Hi,

I’m trying to open unread emails with attachments in Outlook and I’m coming unstuck. When using the get outlook mail message activity I come unstuck primarily because the variable I have chosen generates a compiler error.

Any help would be much appreciated. I’ve attached my project so far.

Regards,

JeffUI Path Issue - Get Outlook Email Message.pdf (229.6 KB)
Main.xaml (18.0 KB)

Can you check here Value of type cannot be converted to system.net.mail.mailmessage

Hi @JeffNZ,

Get Outlook mail messages activity output is of type List of MailMessage.

Search for “System.Collections.Generic.List<System.Net.Mail.MailMessage>” using ‘Browse for types’ option under variables section.

image

Regards,
Rahamat