Hi. Please can you give me an example how to send email with attachments in C#. I want to send an email to multiple recipients. Since the API doesn't support it I'm using an example with RestSharp. I don't understand how to add an attachment. i tried with .AddFile() in IRestRequest but nothing comes with the email. I see that the "attachment" parameter needs to be defined, but I don't understand how to add some file(s).
Which class in C# language should I use instead of 'org.springframework.web.multipart.MultipartFile' in Java?
Hi. Please can you give me an example how to send email with attachments in C#. I want to send an email to multiple recipients. Since the API doesn't support it I'm using an example with RestSharp. I don't understand how to add an attachment. i tried with .AddFile() in IRestRequest but nothing comes with the email. I see that the "attachment" parameter needs to be defined, but I don't understand how to add some file(s).
Which class in C# language should I use instead of 'org.springframework.web.multipart.MultipartFile' in Java?