• Resolved waleed32354

    (@waleed32354)


    We are experiencing an email sending issue on our WordPress site when submitting Gravity Forms.

    Gravity Forms support has confirmed that the form setup and notification logic are working correctly. According to their logs, the email is created successfully, but WordPress fails at the sending stage with the following error:

    “WordPress was unable to send the notification email. Could not instantiate mail function.”

    We are using WP SMTP with SendGrid, and emails sent via the WP SMTP test tool are delivered successfully. However, Gravity Forms notifications sometimes fail with the above error.

Viewing 1 replies (of 1 total)
  • Plugin Support Patrick

    (@paddyam)

    Hi @waleed32354,

    Thanks for sharing the details. Based on the error message and the fact that test emails via WP Mail SMTP are working, it looks like the issue may be related to how the wp_mail() function is being fired in your setup.

    WP Mail SMTP hooks into WordPress after the wp_mail() function is called, so if something in the Gravity Forms workflow or another plugin is bypassing or altering the way wp_mail() is triggered, the mailer may not be able to take over as expected. This would explain why the notification is created successfully but fails at the sending stage.

    I’d recommend double‑checking that the notification is indeed using the standard wp_mail() call and that no custom code or conflicting plugin is interfering with it. Once wp_mail() is fired correctly, WP Mail SMTP should be able to hook in and send the email through SendGrid without issue.

    Hope this helps.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.