unable to call dispose method with mail.Attachments
getting error
unable to call dispose method with mail.Attachments
getting error
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