tags:

views:

173

answers:

2

Hi, I am sending email using C#.NET, for which I am using System.Net.Mail.MailMessage class. I want to make a portion of the email's subject bold. Is there any way to do it?

+6  A: 

No, there is no way to format the subject of an email message with font styles, weights, faces, color, etc. It is plain-text only.

It's not a limitation of .NET, rather it's the way email is.

BoltClock
Thank you very much.
Night Shade
+3  A: 

While you have no control over the subject, you could hint to the email clients that a message is important by setting the priority. Depending on the client, it might be highlighted in some way.

eg

message.Priority = MailPriority.High;

Since people abuse this, email clients could very well ignore it. But see if it works for you!

Will
Thank you, I have done that.
Night Shade