php-通过sendgrid发送的电子邮件未传递
作者:互联网
我选择sendgrid将电子邮件发送到我的邮件帐户.我用php curl做到了.
当我运行curl scrip将邮件发送到sendgrid服务器时
$url = 'https://api.sendgrid.com/';
我收到了{“ message”:“ success”} json响应
但是邮件未发送到我的邮件帐户(例如Google)
解决方法:
您的电子邮件已发送和传递,但Gmail已将其视为垃圾邮件.网上有很多资源,这里避免将其归类为垃圾邮件,但它的范围太广了,无法在此处进行详细说明.
对于您的Yahoo测试,as explained here,
“deferred mail” is simply mail that was unable to deliver to the
sender and has been added to the mail queue.
标签:curl,sendgrid,php,sendgrid-api-v3 来源: https://codeday.me/bug/20191026/1935671.html