I have a webform page where user submits its query. On form submission a confirmation mail is sent to the user and admin. I have installed the Custom Webform Comment module through which user and admin both can comment and change the status in the form, now I want to send mail on each comment and status change to both admin and user.
I have tried using Webform Rules module but it is not working. The module is not sending mail
Is there any other way or module(s) through which I can send mail to the user?
Webform version 7.x-4.15
Thanks in advance :)
I resolved the above issue by inserting hook_mail code in my Custom Webform Comment module.
In case anyone else is facing the same issue here is the code which I inserted in the custom_webform_comments.module file.
After the above line of code put the following code after the database insert query inside the function custom_webform_comments_commentform_submit() to send mail after every comment update.
Similarly to get mail on every status update, update the following function.