Skip to content
Advertisement

Sendgrid inbound email with PHP

I have configured a service for inbound email with record MX on Sendgrid. When receive email the callback URL has this function:

JavaScript

and it work perfect, now i need to get the information from email, i have read the documentation:

https://sendgrid.com/docs/API_Reference/Webhooks/parse.html

and it say to use POST, ok i use post for getting the value:

JavaScript

in this mode not work, return this error:

JavaScript

Can someone please help me?

Advertisement

Answer

Problem solved, with this: https://github.com/Ziggeo/php-sendgrid-parse

and disable Paste RAW data from settings on Sendgrid

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement