如何在C#中将html格式添加到电子邮件中?

时间:2011-09-13 21:13:25

标签: c# html email

  

可能重复:
  Generating HTML email body in C#

我的客户端作为一些特定的格式要求。电子邮件应该如下所示:

                                     Hi there!
A friend of yours, <Name>, wanted to make sure you know about us. You may already
know about who we are and what we do,we...

                         ...kick ass because we can
                         ...do all of our financing

                             So please reach us at

                                blah blah blah

我正在使用字符串变量,并在需要的地方添加了<br /> <p>个html标记,但我无法设置属性信息的样式。有人可以帮我这个吗?我在考虑将style="text-align:center;"添加到代码中。

谢谢!

0 个答案:

没有答案