【问题标题】:AWS -SES: Adding link in my email templateAWS -SES:在我的电子邮件模板中添加链接
【发布时间】:2020-09-16 13:43:04
【问题描述】:

我必须通过 AWS SES 使用模板发送电子邮件。

{
"Template": {
"TemplateName": "resetPasswordEmailTemplate",
"SubjectPart": "FBO Hangars- Recover Password",
"HtmlPart": "Hi {{name}},\r\n Please click on the below link to recover your password.<b> <a href="">{{link}}</a> <b> The link will be valid for 24 hours. <b> Thank you for using ,Team",
}
}

这是我的模板。问题是链接不可点击。此外,当我检查 DOM 时,标签中没有 href 属性。这与配置有关吗?或者我的模板的问题

【问题讨论】:

    标签: node.js amazon-web-services html-email amazon-ses aws-sdk-js


    【解决方案1】:

    我认为您的链接应该具有以下形式:

    <a href="{{link}}">{{link}}</a>
    

    【讨论】:

      猜你喜欢
      • 2020-10-04
      • 2020-12-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-08-28
      • 2020-01-16
      • 2020-10-19
      相关资源
      最近更新 更多