SendGrid 动态模板 - 在把手中获取收件人电子邮件

SendGrid Dynamic Templates - get recipient email in handlebars

在我的 SendGrid 动态模板中,我需要获取收件人电子邮件并将其传递到 URL。有什么方法可以让收件人通过某种 global/default 变量发送电子邮件,或者我需要将其与有效负载一起传递吗?

您需要在动态模板数据中传递要在电子邮件模板正文中使用的所有数据。