Error in MailMessage

I’m getting this error: BC30311: Value of type List(Of MailMessage) cannot be converted to ‘MailMessage’. The selected value is incompatible with the property type.

The error message “BC30311: Value of type List(Of MailMessage) cannot be converted to ‘MailMessage’” in UiPath suggests that you are trying to assign a List of MailMessage objects to a property or variable that expects a single MailMessage object.

You can change the variable type then it will work

Note : Or just remove that variable in the properties and press Control + k and create new variable so it will take automatically

@Sara_Piana

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.