0
我有一个交易模板在我SendGrid账户,我学会了如何使用它here,基本上,我想所有的HTML标签来改变我这样做:如何更换在C#中使用SendGrid阿比按钮链接
msg.SetTemplateId("0000000-00000-00000-0000-0000000");
msg.AddSubstitution("-name-", "Example User");
msg.AddSubstitution("-city-", "Denver");
问题是,如果我不得不把一个链接放在一个按钮中,我会怎么做。 ?
<a href="http://www.MyCustomLink.com/"><button style="color:#607D8B; background-
color: white;
border: none;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
padding: 15px 32px;"
type="button">Confirm Account</button>
由于被替换,它的工作! –