Unable to call dispose method with mail.attachments

unable to call dispose method with mail.Attachments

getting error
attachmentsError

Fine
–make sure that the datatype of MailObject is of type MailMessage
–the TargetObject should be like this MailObject.Attachments
–the MethodName should be like this Dispose
–no arguments or parameters are needed to be passed in the properties of invoke method

This should work for sure
Kindly try this and let know buddy
Cheers @pankajs3

@Palaniyappan thanks it works for me

1 Like

Fantastic
Kindly close this topic buddy
Cheers @pankajs3