Skip Navigation

[Resolved] No email notification after submitting the CRED form

This support ticket is created 2 years, 6 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Tagged: 

This topic contains 6 replies, has 3 voices.

Last updated by Minesh 2 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#2197721

Dear Sir/Madam,

I have a CRED form, there is email notification, I did the eamil test and was successful, when I submit the form from frontend, there is no email send out but I didn't find any error from the error log.

How can I troubleshoot it?

Best regards,

Kelvin.

#2198329

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello Kelvin and thank you for contacting Toolset support.

Toolset notification relies on WordPress to send emails. If WordPress is unable to send the email, during the form submission, then Toolset cannot do anything. I suggest that you use an email logging plugin to check if Toolset sends the email. Something like https://wordpress.org/plugins/wp-mail-logging/

That will give you an idea about the sending process, and it may also give more details if an error occurs.

You may also test with an SMTP plugin to rely on an email server that is located on a different server(Gmail, Your own Email server, etc.) If the email is processed, then I'll suspect an issue with the current server email configuration.

I hope this helps. And I'll remain at your disposal.

#2202857
Screenshot 2021-10-22 at 10.17.07 PM.png
Screenshot 2021-10-22 at 10.16.44 PM.png
Screenshot 2021-10-22 at 10.16.35 PM.png

Dear Jamal,

I installed the wp-mail-logging and submit the form, but there is no error found, you can refer to attached screenshot.

#2204017
Screenshot 2021-10-24 at 6.35.11 PM.png
Screenshot 2021-10-24 at 6.29.56 PM.png
Screenshot 2021-10-24 at 6.32.58 PM.png
Screenshot 2021-10-24 at 6.31.39 PM.png

Dear Jamal,

I setup the WP Mail SMTP and successfully send out the test email. I send test email from Toolset Edit Post Form without problem, don't know why I can't receive email after I submit the form, could you please advise what I should do to troubleshoot the issue?

Best regards,

Kelvin.

#2206085

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Jamal is on Vacation. This is Minesh here, let me step-in here.

I do see that when you submit the form and I do not see any email is logged with the email log plugin.

Can you please check with your hosting authority if there is any blocks or temporary disable the WP Mail SMTP plugin and then check if email works?

#2206841

Dear Minesh,

There was no email blocking from my hosting, if you review the screenshots, I can send out email using WP Mail SMTP, I received the confirmation email.

Best regards,

Kelvin.

#2206901

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please try to add the following code to the "Custom Code" section offered by Toolset:
=> https://toolset.com/documentation/programmer-reference/adding-custom-code/using-toolset-to-add-custom-code/

add_action('cred_submit_complete', 'my_success_action',10,2);
function my_success_action($post_id, $form_data)
{
    // if a specific form
    if ($form_data['id']==99999)
    {
         $queue = CRED_Notification_Manager_Queue::get_instance();
          $queue->send();
    }
}

Where:
- Replace 99999 with your original form ID

More info:
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_submit_complete

Do you see it working?

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.