1

I am using CSharp to create the send email function, now my problem is cannot work if I want bold the selected text. Below is my sample code:

string emailSubject = $"Welcome to ABC company";

string emailBody = $"<b>Username:</b> {username}\n" +
                    $"<b>Password:</b> {userNewPassword}\n\n" +

The outcome result shows me in the email like below picture:

img1

Fatt Sky
  • 650
  • 3
  • 11

0 Answers0