mailMessage.Header("“HTMLBody”).ToString does not work

Can you try the below expression to get the html body of the email message -

mail.Headers("HTMLBody")

Ref -

Regards,
Karthik Byggari

1 Like