• Hi,
    I use a plugin to run all WordPress generated emails through SendGrid. Primarily for post notifications to subscribers.

    SendGrid will notify a URL of my choice via HTTP POST with information about events that occur as SendGrid processes my email.

    QUESTION: How do I receive that HTTP POST in WordPress?

    When someone enters an email address in my form (along with other form fields) and submits it, I want to send a test email to that address and receive the HTTP POST from SendGrid regarding the email I sent. Such as, did it get delivered.

    If the HTTP POST reveals the email was delivered, I will accept their form submittal. Otherwise, I’ll reject it and advise the user.

  • The topic ‘Receiving JSON data?’ is closed to new replies.