Click here to Skip to main content
15,908,775 members
Please Sign up or sign in to vote.
2.41/5 (3 votes)
See more:
Hi,

i want change subject color in gmail send.

i made one and small application through c#, windows application.
HTML
To     : Xyz@gmail.com
Subject: Hi Pls Find Attachment
From   : abc@gmail.com
Body   : Hi, Pls find files.


I want like out put. : 
in Subject line i want to change color of "Attachment" word.

Is it Possible to change color of specific word or string. in Subject tag not in body.

thanks.
Posted
Comments
You have tagged ASP.NET and talking about Windows Application. Did you try anything for what you are explaining. If yes, then please share the code.

1 solution

"Subject" is one of the mail headers, not "tag". Headers don't have colors, they are just headers. You can apply color or any other
formatting properties for the message body or one of message parts using content type "text/html", with appropriate HTML markup in content.

(If some mail software show some header information in some colors based on some criteria, this is the problem of this particular viewer. It does not mean that header information includes color :-).)

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900