- 1 [SOLVED] Why doesn’t Gravity Forms send email?
- 2 Troubleshooting Notifications
- 2.1 Check for typos
- 2.2 Avoid spaces
- 2.3 Use a valid From Address
- 2.4 Avoid using same email in From and To addresses
- 2.5 Check routing conditions
- 2.6 Is the notification enabled?
- 2.7 WordPress pasó con éxito el correo electrónico de notificación al servidor de envío.
- 2.8 No se ha podido crear una instancia de la función de correo.
- 2.9 Error de SMTP: falló la conexión ()
- 2.10 Error de SMTP: no se pudo autenticar
- 2.11 Error SMTP: Datos no aceptados
- 2.12 WordPress failed to send notification email
- 3 Video Gravity forms not sending email
[SOLVED] Why doesn’t Gravity Forms send email?
Last updated on September 9, 2022 by Claire Broadley
Tweet sur Facebook LinkedIn
Gravity Forms not sending email from your site?
If no notification is received from Gravity Forms, important messages are likely to be dropped.
Repair your Gravity Forms emails now
In this article
- Fix issues with Gravity forms not sending email
- Check notification settings for severity forms
- Configure sender address
- Configure Gravity Forms SMTP Settings
- Need a hand setting up SMTP for Gravity Forms?
- Choose an email provider
- Log Gravity Forms Email Content and Attachments
- Test your Gravity Forms emails
- Gravity Forms Email Notes FAQ
How does Gravity Forms send email?
Gravity Forms sends emails and form confirmations through your hosting server. In fact, all emails from your WordPress site are sent this way by default.
Your server uses the wp_mail() function, which is a basic basic form of sending emails with PHP. Non authentic los correos electrónicos, y es por eso que à veces se archivan como spam.
If this happens, you (or your visitors) may notice that Gravity Forms notifications are being sent to the spam or spam folder. But sometimes, they just seem to disappear.
This issue does not specifically affect any solos in Gravity Forms. Other contact form add-ins with Ninja Forms may also experience similar correo electrónico issues.
The WP Mail SMTP plugin resolves the problem easily. You send emails through third party email services so that your emails are properly authenticated.
In the steps below, we will run through all the steps to fix Gravity Forms not sending emails.
How to fix gravity forms not sending email
We’ll start by testing your form to see if everything works on the frontend. We’ll show you how to do this in version 2.4 or lower, as well as the new 2.5 or “block editor” version.
À la fin, nous expliquerons comment résoudre Gravity Forms avec SMTP, qui est une méthode éprouvée pour résoudre la plupart des problèmes de courrier électronique des formulaires de contact.
Résoudre les problèmes liés aux formulaires Gravity qui n’envoient pas d’e-mail
Sometimes forms can stop working unexpectedly. If you’ve recently changed themes or plugins on your site, it’s possible that a new code conflict might be stopping your forms from submitting entries.
Sending a test entry is an easy troubleshooting tip because it helps you see if there’s a problem with your form plugin.
So if you encounter Gravity Forms notifications not sending, go ahead and fill in your form as a visitor normally would. Then try to proceed with your form submission.
If you have difficulty submitting the form, that might suggest a plugin conflict. For example, you might notice that the form is slow to submit, or the Submit button doesn’t do anything when you click it.
If that’s the case, you could try switching to a free contact form plugin to see if that helps.
If your form is submitted successfully with Gravity Forms, you’ll want to check that the entry was saved. Let’s do that now.
This is the same in the old and new versions of Gravity Forms. In version 2.5, the screens look a little different, but the steps are the same.
Head to your WordPress dashboard. Under Forms, click Entries.
If your form’s working, you should see your entry listed here:
Is everything OK so far? Now let’s look at your Gravity Forms email notifications.
Check Gravity Forms Notification Settings
Each form in Gravity Forms has its own set of email notifications. You can switch the notifications on and off, and you can also choose which email addresses will receive each notification.
In particular, you’ll want to check your conditional notifications and look for typos in addresses. Often, users find Gravity Forms not sending notifications because of these small mistakes.
In the WordPress dashboard, click Forms to see a list of all of the forms in your account. Hover over the form that isn’t sending email and click Edit. The process is the same in Gravity Forms 2.5, but the screens look a little different.
In version 2.4 or below, look to the tabs across the top and hover over Settings. Then click Notifications.
In version 2.5 or above, the layout is the same but the dropdown looks a little different.
Now check to see that the notifications you want are turned on in the form editor.
This form has just 1 email set up, and the switch here should be green.
In version 2.5, the green icon looks a little different and shows the word Active.
Next, you can click on the name of the notification to edit the settings.
Configure the Send To Address
Sometimes, if you have Gravity Forms confirmations not working, it’s worthwhile to check the address your notifications are being sent to. In version 2.5, the settings are exactly the same.
We already opened up the form notification settings. At the top, you’ll see 3 different settings for Send To. We marked them here with a red outline:
In the From Email field, you can see we have a placeholder for the site admin email in WordPress. You might want to change this so that you avoid having a sender and recipient email that are the same. This can cause deliverability issues, and “be careful with this message” warnings in Gmail.
Looking specifically at Send To, here’s what these settings do:
- Enter Email – This lets you type in an email address for the notification. If you have this option selected, check that the email address is correct with no typos or formatting mistakes. If you don’t have a valid recipient here, your emails could silently fail.
- Select a Field – This lets you select a form field from the dropdown. You’ll want to use this setting for user notifications since this will send an email to the person filling in the form.
- Configure Routing – This setting lets you use conditional logic to set the notification recipient. This is the most complicated setting, and it’s the easiest to get wrong.
Here’s an example of what Configure Routing looks like for the email field.
If you have this logic set up incorrectly, it’s possible that Gravity Forms won’t send email when you expect it to. In our example, it’ll only send an email notification if the user selects their preferred contact method as Email.
To test your form, switch to a simpler method temporarily (such as Enter Email) and see if that solves the problem with Gravity Forms not sending email. If it does, it’s possible you had a routing rule that was stopping notifications from being sent.
Still having problems? Let’s install the WP Mail SMTP plugin to fix Gravity Forms not sending email.
Configure Gravity Forms SMTP Settings
Now we’ve checked all of your Gravity Forms email settings, we’ll go ahead and install WP Mail SMTP, which is a WordPress plugin designed to solve email deliverability issues.
WP Mail SMTP lets you easily use a 3rd party mailer service to add proper authentication to your emails using DKIM, SPF, and DMARC.
Need a hand setting up SMTP for Gravity Forms?
Our Elite license includes White Glove Setup for SendLayer, SMTP.com, or Mailgun.
If you’d prefer to install and set up the plugin yourself, let’s go ahead and do that.
To start, install and activate the WP Mail SMTP plugin. If you need help with this step, check out this beginner’s guide to installing a plugin in WordPress.
You’ll see the setup wizard open up in your browser. Click Let’s Get Started to begin Gravity Forms SMTP configuration.
Next, we’ll choose the mailer you want to use to handle your Gravity Forms emails.
Choose an email provider
WP Mail SMTP lets you choose from different mailing services. So whether you have a small, personal website or a large eCommerce store, there’s an option that will suit you.
- SendLayer is a great option for small businesses. It’s super affordable and easy to use.
- For larger sites, SMTP.com and Sendinblue are both reliable options that allow you to send hundreds of emails each day.
- For a hobby or personal site, you can use the Other SMTP option in WP Mail SMTP to use the SMTP details provided by your ISP. If you choose this, be sure to use the correct outbound SMTP port. See our Other SMTP tutorial for details.
- There’s also a Google option that lets you send email via your Google Workspace or Gmail address. This is also a great option for small sites that send just a few emails a day, and you can send WordPress emails from different Gmail aliases.
When you’ve chosen your mailer, you’ll want to set it up on the provider’s website. We’ve got full instructions for each service to help.
Simply click the link for your chosen mailer to jump to its setup tutorial:
|Mailers available in all versions||Mailers in WP Mail SMTP Pro|
|SMTP.com||Microsoft 365 / Outlook.com|
|Google Workspace / Gmail|
At the end of the wizard, we recommend that you turn on Detailed Email Logs and Weekly Email Summary. These 2 settings will track basic details about your sent emails and generate a weekly report.
Run through the remaining steps to complete the Setup Wizard. At the end, you’ll receive an automatic test email.
If you want, you can also turn on email logging for the entire content of the emails as well. Let’s take a look at that in more detail.
Log Gravity Forms Email Content and Attachments
The Pro version of WP Mail SMTP can track every email that’s sent from your WordPress site, including every Gravity Forms notification that is generated.
Once email logging is enabled, you also have the option to:
- Track opens and clicks in all WordPress emails
- Generate email reports
- Save email attachments in WordPress
- Export or print your email logs
- See the status of sent emails
- See which plugin generated each email in the log.
Here’s an example of the email report graph showing opens and clicks:
And there’s more! You can see email status on your WordPress dashboard too. Drill down into the chart to check the status of all the emails generated by your site.
Got your email logs set up? Great. Let’s check to see if Gravity Forms is sending form entries reliably.
Test Your Gravity Forms Emails
Congratulations! Now you’ve set up WP Mail SMTP, you should find that your problems with Gravity Forms notifications not sending are fixed.
You can test your Gravity Forms contact form now and check the email logs to track the status.
In WP Mail SMTP, you can also send an email test at any time. Just head to the Email Test tab in the plugin settings.
After sending the test email, WP Mail SMTP will let you know if there are any issues with your DNS settings. This is an easy way to make sure your provider is set up correctly.
And that’s it! We’ve walked through all of the steps to fix Gravity Forms not sending emails on your site.
Fix Your Gravity Forms Emails Now
FAQ on Gravity Forms Email Notes
Are you seeing errors in the Notes section in Gravity Forms? Here’s a quick guide to explain what each error message means.
|Gravity Forms Note||What This Means|
|WordPress successfully passed the notification email to the sending server|| Gravity Forms successfully generated the email in WordPress and sent it.
That doesn’t necessarily mean that it was delivered, and most email issues occur after this has happened, so the message is not always helpful.
You’ll want to install WP Mail SMTP to improve deliverability and run more detailed tests. WP Mail SMTP will give you a more specific test result that will explain what’s going wrong. For example, it can detect issues with your DNS settings that are causing email problems.
| Could not instantiate mail function.
WordPress was unable to send the notification email
| There was an issue generating the email in WordPress.
This can happen if the PHP mail function is disabled by your web host and SMTP isn’t configured on your WordPress installation.
| SMTP Error: connect() failed
SMTP Error: Could not authenticate
| There’s an issue with the settings in WP Mail SMTP.
|SMTP Error: Data not accepted|| There’s an issue with your mailer service that’s preventing Gravity Forms sending emails.
You might be trying to send more emails than the provider allows, or you might be using a From address that isn’t valid.
| WordPress was unable to send the notification email.
Cannot send email because the To address is invalid.
| The email address provided is incorrect.
Often, this happens when you provide the same email address in the From and To fields. Make sure that the From and To email addresses are distinct and valid.
If you have any other issues using WP Mail SMTP with Gravity Forms, you can file a support ticket now if you have a paid license. Users of the free version of WP Mail SMTP can get help on the WordPress.org forums.
Fix Your Gravity Forms Emails Now
Next, Configure DMARC Records
Are you still seeing contact form emails going to your spam folder? You’ll want to make sure that your DNS records are set up correctly for your new email provider and that your email domain name is verified.
To start, check out our guide on What is a DMARC record and how to add one. In addition, you might want to see our post on How to Fix “Be Careful With this Message” Error in Gmail.
Ready to fix your emails? Get started today with the best WordPress SMTP plugin. WP Mail SMTP Elite includes full White Glove Setup and offers a 14-day money-back guarantee.
If this article helped you out, please follow us on Facebook and Twitter for more WordPress tips and tutorials.
- How email notifications are sent
- Ensure WordPress and Gravity Forms are up to date
- Check your settings
- Check for typos
- Avoid spaces
- Use a valid From Address
- Avoid using same email in From and To addresses
- Check routing conditions
- Is the notification enabled?
- Use Third-Party Transactional Email Services or SMTP
- Sending Result Notes
- WordPress successfully passed the notification email to the sending server.
- Could not instantiate mail function.
- SMTP Error: connect() failed
- SMTP Error: Could not authenticate
- SMTP Error: Data not accepted
- WordPress was unable to send the notification email
- Enable Logging
- Check for plugin or theme conflicts
- Contact your web host
- Understanding E-mail Reliability
How email notifications are sent
Like most other WordPress plugins, Gravity Forms does not handle emails directly. Gravity Forms uses the wp_mail() function that is provided by WordPress to send any emails.
Once Gravity Forms hands the email off to the WordPress wp_mail() function, one of the following occurs:
- WordPress directly interacts with your web server to send the email.
- WordPress contacts your SMTP or external 3rd party mail server to send the email (e.g. SendGrid, Mailgun, etc.).
After WordPress hands the email off, it’s up to the mail server, as well as the recipient’s mail server, to complete the sending of the email. We don’t have any control over the delivery process once the email is passed to WordPress.
If you’re having trouble sending sending or receiving emails from Gravity Forms, this article will provide you with a few different steps to follow. In the overwhelming majority of cases, these steps have been proven to resolve a multitude of email issues.
Note: WordPress allows filtering of emails sent using wp_mail() function, this means third-party plugins or custom functions can alter any aspect of the email after Gravity Forms passes it to WordPress.
Ensure WordPress and Gravity Forms are up to date
The first thing you want to check is your WordPress and Gravity Forms versions. The version you are on could potentially have a bug in it that is fixed within a newer version. Checking that you are running the latest version is a critical step in troubleshooting any issues.
Check your settings
When configuring notifications, it’s easy to miss an error in the recipient address or elsewhere. By looking over the notification configuration carefully, a quick mistake can be easily resolved.
Check for typos
It’s easy for a small typo to turn into a big problem. Check for any typos within your notification feeds.
Within your notification, check for any spaces in the recipient’s address, or between multiple addresses. If a space exists in the setting, it can potentially cause the notification to fail.
Use a valid From Address
Within the sender, or From Email field, ensure that it is the address that the message is originating from, that must be an email address authorized by your server (e.g. an email using the same domain that your site uses).
In plain English, don’t use your visitor’s email as from address, always use your site domain in the from address.
If not, things like SPF records and/or DMARC records can cause the mail to be marked as spam and/or rejected. If you need to allow the recipient to reply another address, set it as the Reply To address instead.
Many providers as Yahoo, AOL or Gmail are known to apply this policy. For more information on the Yahoo domain issue visit the following: Yahoo email anti-spoofing policy breaks mailing lists. For more info on the AOL domain issue visit the following: AOL imposes stricter email rules. You can read also about Gmail DMARC policy changes here: Gmail DMARC Update 2017.
These are only a few examples, applying this policy to fight against spam is becoming a standard in the email and hosting industry, therefore using a valid from address for your emails must be always in your top list when configuring your notifications settings.
Avoid using same email in From and To addresses
Far too often, we see situations where an email address is configured as both the From Address and To Address. For many mail providers, this will cause the email to be rejected as spam (or placed in a spam folder). Be sure that you use a different, valid email address in the From setting.
Check routing conditions
If you have routing configured for the notification recipient, be sure to double-check that at least one condition was successfully met. If none of the conditions were met, a notification would not be sent, as it would not have a valid recipient.
Is the notification enabled?
While doing form tests it’s common to disable notifications to prevent receiving lot of emails that we don’t really need. Sometimes you can forget to enable the notification again ( it happens more than you think ).
To check if your notifications are enabled, access the form editor, then click on *Notifications at the top menu. You should see a list of all configured notifications for that form. Be sure that all notifications are enabled and the toggle switch to the left of the notification name is green.
Use Third-Party Transactional Email Services or SMTP
Sometimes, due to server settings or e-mail reliability issues, using PHP sendmail does not work. Switching to third-party transactional email services or SMTP can be more reliable and solve many issues.
Gravity Forms provides add-ons for the following major third-party transactional email services:
Using any of the above add-ons will make Gravity Forms to use the configured service to send the notifications, this will not affect other emails sent by WordPress or third-party plugins.
If you prefer to use a SMTP server, there are a number of SMTP plugins for WordPress. You will need to install one of the following and set it up using the details given to you by your web host or third party SMTP host.
- SAR Friendly SMTP
- Post SMTP Mailer/Email Log
- Easy WP SMTP
- Mailgun for WordPress
Sending Result Notes
A partir de Gravity Forms 2.4.15 verás una nota añadida a cada entrada, creada con esta versión o más reciente , con el resultado de cada proceso de envío de notificaciones.
Para encontrar esta nota, simplemente vaya a la lista de Entradas de su formulario , haga clic en una entrada de la lista para cargar la página de detalles de la entrada y desplácese hacia abajo hasta la sección Notas.
Si ve alguna de las siguientes notas agregadas a su entrada, todo funcionó como se esperaba desde el lado de las cosas de Gravity Forms . Pero algo sucedió durante el envío de correos electrónicos entre WordPress y su servidor de envío.
Consulte a continuación los resultados más comunes informados por WordPress.
WordPress pasó con éxito el correo electrónico de notificación al servidor de envío.
Esto significa que la configuración de notificación de Gravity Forms está bien, el correo electrónico se pasó a la función wp_mail() sin problemas y WordPress informó que entregó correctamente la notificación para su entrega. Ahora la pelota está en el lado del servidor de envío. Solo el administrador de su servidor puede investigar esto más a fondo.
No se ha podido crear una instancia de la función de correo.
WordPress no puede enviar el correo electrónico porque, por alguna razón, la clase PHPMailer incluida en WordPress (utilizada por la función wp_mail()) no puede usar la función de correo PHP. La mayoría de las veces esto se debe a alguna restricción en su alojamiento (por ejemplo, se activó un filtro de spam en su servidor y el correo electrónico fue rechazado).
Error de SMTP: falló la conexión ()
Está utilizando un complemento SMTP para enviar los correos electrónicos, pero WordPress no puede conectarse al servidor SMTP. Las causas más comunes de esto son configuraciones incorrectas en su complemento SMTP, su alojamiento está bloqueando la conexión saliente al servidor SMTP o el servidor SMTP está bloqueando las conexiones provenientes de su servidor web.
Error de SMTP: no se pudo autenticar
Este WordPress puede llegar al servidor SMTP, pero no puede autenticarse. Esto puede ser causado nuevamente por detalles incorrectos utilizados en su complemento SMTP (verifique dos veces no solo el nombre de usuario y la contraseña, sino también el puerto y el cifrado utilizados). También puede ver este error cuando el usuario SMTP que está tratando de usar no está activo (por ejemplo, deshabilitado por un administrador).
Error SMTP: Datos no aceptados
This means that the SMTP server is rejecting your email message because it contains something that is not allowed by the SMTP server’s rules. Most of the time it can be due to address restrictions (many SMTP servers only allow you to use the email address associated with the username you are using to send the email), but it can be any other part of your email content. .
WordPress failed to send notification email
Dans ce cas, WordPress n’enverra pas le email for unknown reasons, the sending server did not provide any additional information. Only the sending server administrator can investigate this further.
By using logging, you can easily cover scenarios where the post result note is not added to the input and why they occur . Reviewing your logs will allow you to see where the notification might be failing and correct the problem if it is within the scope of Gravity Forms. If you need to contact support to better understand the log content, please do not disable logging until you receive a response from support or your log files will be deleted .
Check for plugin or theme conflicts
Sometimes other plugins or themes create issues that prevent notifications from working. Follow the instructions below to test for a plugin or theme conflict.
Evidence of a theme/complement conflict
Contact your web hosting provider
If there was still a plugin or theme conflict, SMTP is not working for you, or you are seeing in your log any of the results described in the plugin log section, then you will want to contact your web hosting provider and have them look at the plugin logs. server to check if there are any written errors.
Often they will see if things are being blocked, by them on purpose or due to server misconfiguration issues.
Understand the confidentiality of email
There are a host of potential issues that can cause your notifications to not be sent or received and as such if you have reached this point you are most likely experiencing an issue that is less common and will require support from your administrator. du serveur pour le résolveur.
Joost de Valk has written an excellent summary of why there can be so many problems with email reliability which we hope you will find a good guide to help you understand the factors at play and hopefully come up with an acceptable solution to any problem. . you may be experiencing.
Email trustworthiness: use an SPF record
- Was this article helpful?
- How can we improve it?
- Contact support
This field is only used for validation purposes and should be left unchanged.
Last modification: July 5, 2021