c#email格式不正确_HTML表格在C#中格式不正确

我正在用C#在。NET中开发一个API。 我试图用正确的格式发送电子邮件(当委派规则分配给特定用户时)

这是我到目前为止尝试过的代码块。strings.Add("email_delegation_rule_assigned", "Delegation rule assigned ");

strings.Add("email_delegation_rule_assigned_body",

"Hi {senderName},
"

+ "The following Workflow Request/s have been submitted for your approval, in the absence of {assignerUserName} from {delegateFromDate} to {delegateFromTo}.
"

+ ""

+ ""

+ "

"

" +

"

Delegation Req# " +

"

Delegation
From UserTo User
" +

"

Effective Period
From To
" +

"

List of Workflows " +

"

" +

"

" +

"

1" +

"

{assignerUserName} You
" +

"

{delegateFromDate}{delegateFromTo}
" +

"

{workflowName}" +

"

" +

"


" +

"For further information please contact
" +

"You can view the Delegation details by clicking on the link below, using Flowdoh Workspace/Form Designer
" +

"Thank you!
" +

"Warm Regards,
" +

"Enadoc Team
"

);

我收到这种格式的电子邮件,这是错误的格式。

我的邮件应该是这样的。。。

当将一列分成两列时,如何正确地对齐行? 第#列不与td值对齐。 我。。。我需要在表格中有单行。 (忽略标题中的背景颜色)

请帮帮我。 我真的很感谢你的回应。 提前谢谢你!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值