我已选择 sendgrid 将电子邮件发送到我的邮件帐户。我使用 php curl 来这样做。
当我运行 curl 脚本将邮件发送到 sendgrid 服务器时
$url = 'https://api.sendgrid.com/';
我得到了 {"message":"success"}
json 响应
但是邮件没有发送到我的邮件帐户(比如 google)
最佳答案
您的电子邮件已发送并送达,但 Gmail 已将其标记为垃圾邮件。网上和这里有很多资源可以避免被归类为垃圾邮件,但它有点太宽泛了,无法在此处详细说明。 对于您的雅虎测试,as explained here ,
"deferred mail" is simply mail that was unable to deliver to the sender and has been added to the mail queue.
关于php - 通过 sendgrid 发送的电子邮件未送达,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41761944/