Check out our growing library of code snippets for Gravity Forms!
Send Error Notification When GF Notification Fails
GOAL:
Alerts administrators when Gravity Forms fails to send email notifications. Critical for ensuring
important notifications (confirmations, alerts, assignments) aren't silently lost. Includes full
email details and error message to help diagnose SMTP/email configuration issues.
DISCLAIMER:
This snippet only catches notifications that Gravity Forms detected as failed. It does not catch
errors that occur during email sending, such as SMTP connection issues, invalid email addresses, or wp_mail() failing.
CONFIGURATION REQUIRED:
-
$to
: Add recipient email address in $to variable (currently empty). Defaults to site admin email.
Install Using Code Snippets
This code is best installed directly on your site using the Code Snippets plugin.
Check Out the Code
Loading...
Stay Updated On This Snippet
Review this entry
You must be logged in to post a comment.