Skip Navigation

[Résolu] Toolset Post form not sending emails when WP Mail SMTP Active

This support ticket is created Il y a 3 années et 5 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Luo Yang Il y a 3 années et 5 mois.

Assisté par: Luo Yang.

Auteur
Publications
#2103405

I have installed and configured WP Mail SMTP, in order to get round a problem where WooCommerce was not sending mails.

After resolving this issue, I now find that my Toolset post form is not sending mails.

The "Send test email" button gives a message that the email was sent successfully, but no email arrives at the destination. (I have checked SPAM and multiple email addresses on various domains)

#2103593

Hello,

It is a known compatibility issue, please try this:
Add below codes in your theme file functions.php:

add_action( 'cred_submit_complete', 'prefix_send_toolset_forms_notifications' );

function prefix_send_toolset_forms_notifications() {
  $queue = CRED_Notification_Manager_Queue::get_instance();
  $queue->send();
}

And test again.

More help:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_submit_complete