0
在他們的文檔SendGrid描述structure被髮送到API:如何通過SendGrid API v3發送模板化電子郵件?
{ "to": // list of emails
"sub": // list of substitutions
"filters": // template ID here
}
但究竟是否應該與mail send結構一起使用嗎?
{ "personalizations": 'to' and 'subject' here
"from": ...
"content": ... }
而且模板醫生說:
如果您在使用Web API V3郵件發送終端,你可以指定你想通過在設置模板ID只使用其中的交易模板您的JSON負載的template_id參數。
「簡單」。好。但是,我的替代品如何指定呢?