有没有办法向联系人列表发送电子邮件?
有没有办法向联系人列表发送电子邮件?我找不到任何关于此的 api 文档。
Is there anyway to send email to a list of contact? I can't find any api docs about this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 SendGrid 发送电子邮件时,您可以发送到一个或多个电子邮件地址,并且可以通过
to
、cc
和/或bcc
执行此操作代码>字段。当您通过 SendGrid 发送电子邮件时,您可以使用“个性化”来发送电子邮件。 根据文档,个性化设置为:
个性化数组的示例可能如下所示:
在上面的示例中,一封电子邮件发送给两个不同的人,John Doe 和 Julia Doe,抄送给 Jane Doe,密送给 Jim Doe。内容相同的电子邮件也会从不同的电子邮件地址发送 ([电子邮件受保护]< /a>) 发送给 Janice Doe,并密件抄送给 Jordan Doe。
希望您可以看到指定电子邮件收件人非常灵活,您可以同时发送给很多人。
查看使用 SendGrid 发送电子邮件的文档和代码示例了解更多信息。
When sending an email with SendGrid you can send to one or multiple email addresses, and you can do so via the
to
,cc
, and/orbcc
fields.When you send an email via SendGrid, you do so using "personalizations". According to the documentation, personalizations are:
An example of an array of personalizations might look like this:
In the above example, one email is sent to two different people, John Doe and Julia Doe, cc'd to Jane Doe and bcc'd to Jim Doe. An email with the same content is also sent from a different email address ([email protected]) to Janice Doe and bcc'd to Jordan Doe.
Hopefully you can see that specifying the recipients of an email is very flexible and you can send to many people at the same time.
Check out the documentation and code examples for sending emails with SendGrid for more information.