我们每天使用sendgrid API发送大约1封lac电子邮件。
但是发生的事情是成千上万的邮件无法发送给收件人。
我们想要获取这些未删除邮件的列表。那怎么可能呢?
请提出一些想法或链接。因为我迷路了,非常感谢您的协助。
谢谢你。
哇..!终于我做到了...
卷曲代码
curl -X GET
https://sendgrid.com/api/bounces.get.json?api_user=undefined&api_key=XXXXXXXX
这是我的php代码
$ch =curl_init('https://sendgrid.com/api/bounces.get.jsonapi_user=10timeslocal&api_key=10timeslocal');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$response = curl_exec($ch);
非常感谢大家尝试解决此问题。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句