You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SendGridMessage message= MailHelper.CreateSingleEmail(
new EmailAddress("from@email.com"),
new EmailAddress("to@email.com"),
"This is a subject",
"This is plaintext content",
"This is HTML content"
);
Read the value of the message.HtmlContent. It should have the string "This is HTML content" however it returns null.
The summary of the HtmlContent property says, "Gets or sets a Content object with a Mime Type of text/html."
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
The summary of the HtmlContent property says, "Gets or sets a Content object with a Mime Type of text/html."
The text was updated successfully, but these errors were encountered: