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.
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.
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?
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.
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();
}
}