3
votes

I have choose sendgrid to sent email to my mail accounts. I used the php curl to do so.

When i run the curl scrip sending the mail to sendgrid server

$url = 'https://api.sendgrid.com/';

I got {"message":"success"} json response

But the message is not being delivered to my mail account (say google)

1
Have you tested to send your message to other mails providers? Have you checked in sendgrid interface the log for that message? - Veve
@Veve yes on the yahoo as well - Selvesan Malakar
Not a really tolerant webmail too... Have you checked the log in sendgrid interface? - Veve
ok i have the mail sent however the mail sent to my gmail account are all in the spam section and mail sent to yahoo are marked as deferred in the sendgrid dashboard - Selvesan Malakar

1 Answers

4
votes

Your email was sent and delivered, but Gmail has marqued it as spam. There are a lot of ressources online and here to avoid to be classified as spam but it's a little bit too broad to be detailled here. For your Yahoo test, as explained here,

"deferred mail" is simply mail that was unable to deliver to the sender and has been added to the mail queue.