SendGrid C#API模板替换

时间:2018-09-04 12:19:58

标签: sendgrid

我有以下主题的交易模板:Request at {{receiveDate}}。但是我无法向其发送替换邮件。

我尝试过:             msg.AddSubstitution("{{receiveDate}}","aaa"); 和             msg.AddSubstitution("--receiveDate--","aaa");msg.AddSubstitution("receiveDate","aaa"); 和  msg.AddSubstitution("%receiveDate%","aaa");。还尝试将标题更改为Request at --receiveDate--。但是,所有这些都没有帮助。我也找不到文档中的信息。我在做什么错了?

0 个答案:

没有答案
相关问题