1

I need to send mail from my webapi. This is pretty straight forward. What I want to do is send the mail with an attachment that is uploaded through my front-end without saving this file to file system. As far as I know the MultipartFormDataStreamProvider class saves the file to file system. Any idea how I can use the multipart stream to create a System.Net.Mail.Attachment?

dicemaster
  • 1,203
  • 10
  • 22

0 Answers0