Skip Navigation

[Resolved] Notification e-mail not send

This support ticket is created 5 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 8 replies, has 3 voices.

Last updated by Nigel 5 years, 3 months ago.

Assisted by: Nigel.

Author
Posts
#1300151

I am trying to: Send an automatic e-mail notification after a new user is created using a toolset user form. The test mail is working correct, but no mail is sent after creating a new user.

Link to a page where the issue can be seen: hidden link

I expected to see: a mail in my mailbox

Instead, I got: Nothing ;-( also checked my spam folder.

#1301641

Hi there,

Thank you for waiting while I performed some tests.

While I can see the issue with form's email notification on your website, I couldn't reproduce this on my own website, despite setting up the similar user form and email notifications.

This suggests that the issue is specific to your website only and for further troubleshooting, I'll suggest the following steps:

1. Please turn on WordPress debugging ( ref: https://wordpress.org/support/article/debugging-in-wordpress/ ) and see if any errors or warnings are generated on the screen or in the server's error logs when the form is submitted.

2. In case there are no errors or warnings, please test the form notifications again, after temporarily disabling all plugins ( other than Toolset ) and with a default WordPress theme like Twenty Nineteen. This will help in narrowing down to any possible third-party code conflict.

3. If the issue still persists, we'll need a clone/snapshot of your website, to get to the bottom of this. Here is a guide on how to share the website's clone/snapshot:
https://toolset.com/faq/provide-supporters-copy-site/

Please let me know how it goes and I've set your next reply as private.

regards,
Waqar

#1302769

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Waqar is on vacation, so let me step in here.

If this is a server-related issue because installing the duplicate on another of your own servers fixes the issue, then it won't help for me to install the duplicator on my own server.

Reading through the above discussion with Waqar, it doesn't look like you add a mail logging plugin to track outgoing emails.

If you add a plugin such as this one (https://wordpress.org/plugins/wp-mail-logging/) then it will record attempts to send emails.

That means you can isolate whether there is a problem generating/sending the emails or whether the problem is with delivery.

Toolset notifications are just built on top of the standard WordPress wp_mail function.

If you install that plugin, try to generate a notification, then check the mail logs provided by the plugin, if the email appears in the list of sent emails then Toolset succeeded in generating and sending the email, and the problem therefore lies elsewhere.

Could you please check and let me know?

#1303333

Hello Nigel,

I installed the plugin you mentioned. Sending a testmail from within the form editor works and is logged, as expected.
Using the form however doesn't send nor log the mail. It is a bit confusing to me. Hope you have some ideas left.

Regards,
Petran

#1303343

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

OK, thanks for that additional info.

One more thing before going further, given that it only occurs on a particular server, is can you check the debug logs for any PHP warnings or errors that point to a problem?

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);

That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor. Try submitting the form again and then inspect the log. If you don't find the debug.log file it means it didn't generate any warnings or errors.

Let me know what you find.

#1305021

At this moment I don't have FTP credentials (due to vacation) so I have to hold this issue for a while. I get back to you as soon I can safely change wp-config.

Regards,
Petran

#1305651

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

OK, no problem. I'll mark this as awaiting your feedback.

(If you don't reply within a week or so you'll get a reminder, when you can say "Still on vacation" if you need to.)

#1312991

The problem is still there. I will respond within a few weeks. Still on vacation 😉

#1312993

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I hope you are enjoying yourself 😉