Sorry if this have been asked.
I tried to assign mailMessage.Body with String.Format(textfile, value0, value1) but it come up with below error :
Assign : Value cannot be null.
Parameter name: format
I am not sure. I have check textfile, value0 and value1 data, it is giving output.
When I assigned mailMessage.Body with single string (e.g textfile, value0 or value1), it worked. But not able to use using String.Format. Any idea guys?
EmailAttachment.xaml (15.9 KB)