【发布时间】:2017-05-23 18:46:01
【问题描述】:
我的 SendGrid 帐户中有一个事务模板,我学会了如何使用它here,基本上,任何我想更改的 html 标记我都会这样做:
msg.SetTemplateId("0000000-00000-00000-0000-0000000");
msg.AddSubstitution("-name-", "Example User");
msg.AddSubstitution("-city-", "Denver");
问题是,如果我必须在 Button 中放置一个链接,我该怎么做。 ?
<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>
【问题讨论】: