开发者

Send email using c# to a Gmail account - html formatting issues

开发者 https://www.devze.com 2023-01-24 08:12 出处:网络
I\'ve built a small client applicatoin in c#. I am sending the emails开发者_JAVA百科 via gmail. When I format my html and add underlines, using the following format:

I've built a small client applicatoin in c#. I am sending the emails开发者_JAVA百科 via gmail. When I format my html and add underlines, using the following format:

<span style="text-decoration:underline"> hello </span>

Gmails ignore my underlining. Is there any workaround?

Thank you


email clients are notoriously bad at standards compliance,

Try the <u></u> tag around your text and see how that works for you.

There is actually a group trying to establish some standards in html for email clients. They also have a list of recommendations on what issues exist in certain email clients, for instance gmail.

0

精彩评论

暂无评论...
验证码 换一张
取 消