Timeline for How to stop webform from sending an email
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 30, 2012 at 22:52 | comment | added | Mike | @Alex Petrov I upvoted your comment, parhaps you should update your answer with this solution | |
Mar 20, 2012 at 21:12 | comment | added | Alex Petrov | Ok, then you should write your own submit function, in fact you can copy and paste the code of webform_client_form_submit and just modify it to your needs. And then in your iimplementation of hook_form_alter for the webform you should replace default submit function with yours. | |
Mar 20, 2012 at 21:03 | comment | added | Brian Reeves | Yeah. I only want to stop the emails under certain conditions which I will calculate in my custom module. So I still need email addresses in there. | |
Mar 20, 2012 at 21:02 | history | answered | Alex Petrov | CC BY-SA 3.0 |