c# - SmtpClient is replacing asterisks with <strong> tags -


i using microsoft's smtpclient class send email. delivered fine, formatting little off. sending more 1 asterisks in row results in of asterisks being replaced opening or closing "strong" tag.

sending literal string:
1 * 2 ** 3 *** 4 **** 5 ***** 6 ******
results in email source code this:
enter image description here

i send email follows:

    var mailmessage = new mailmessage();     mailmessage.subject = <subject string>;     mailmessage.body = <literal string mentioned above>;     mailmessage.isbodyhtml = email.isbodyhtml; //which false      var tomailaddress = new mailaddress(email.toemailaddress, email.toname);     mailmessage.to.add(tomailaddress);      using (var smtpclient = new smtpclient())     {         smtpclient.send(mailmessage);     } 

any great appreciated.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -