0
byte[] bytes = Convert.FromBase64String(data.photoBase64);

            var imageMemoryStream = new MemoryStream(bytes);
            Image imageFromStream = Image.FromStream(imageMemoryStream);


            oMail.HtmlBody = "<html><body><b> Maintenance, Repair and Operationa </b><br>S/N : " + data.serial + 
              
                " <br>Image: "+ imageFromStream + "</body></html>";

I want to send e-mail image in base64 format data, but when I already send email it returns the following result.

I want to send e-mail image in base64 format data, but when I already send email it returns the following result.

Ynpee p.
  • 35
  • 2
  • 5

0 Answers0