Add Attachment base64 image in MailMessage and read it in html body
Currently I have to send emails with MailMessage and SmtpClient but I need to send a picture that is currently in base64 string within the MailAddress body.
Currently I have to send emails with MailMessage and SmtpClient but I need to send a picture that is currently in base64 string within the MailAddress body.
I have a project requirement that we need to attach an HTML formatted log sheet to an email that gets sent to a user. I don’t want the log sheet to be part of the body. I’d rather not use HTMLTextWriter or StringBuilder because the log sheet is quite complex.