Get IMAP Mail Messages(variable)


I tried to use the variable type listed in the Uipath Academy email example but is not applicable to IMAP. What is the variable type that should be used for IMAP?


Hi @tcoston try List<System.Net.Mail.MailMessage>. There are two types of MailMessage, and this is the right one to use in this case.


For every activity if you wanna know the datatype of output variable just hover on the output property. Also if you create a variable from textbox of output property directly UiPath creates a deafult type which is applicable to that activity in this way you can know the type


Thank you!


Thank you!