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>
由於被替換,它的工作! –