The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Email on submission of form not working - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Email on submission of form not working (/showthread.php?tid=569) |
Email on submission of form not working - martin_undefined - Mar 14th, 2010 Hi - anyone got any clues on this: * Test email sends perfectly from admin screen. * No email is sent when form is submitted (but should be). * The form is using Paypal so never goes to the 'thank you' page that was configured when the form was originally set up. Would this cause the email not to send? Thanks for any suggestions RE: Email on submission of form not working - martin_undefined - Mar 21st, 2010 Bump. Anybody got any ideas or clues please? Haven't been able to crack this yet. (Mar 14th, 2010, 2:31 PM)martin_undefined Wrote: Hi - anyone got any clues on this: RE: Email on submission of form not working - Ben - Mar 22nd, 2010 Hey Martin, Are you using the API for this form, and calling the ft_finalize_submission() function from within the ipn.php script? If so, Houston we have a problem. This is a known bug: that function fails to send emails, when in fact it should. But even if that's not the case: emails are only ever sent out when the submission gets finalized. So if you have a 10 page form, obviously you wouldn't want it emails sent out on every step of the way. Instead, the email gets sent ONLY on the last step: which is where you (usually) add "finalize" => true to the $params passed to the ft_api_process_page function. If you're not finalizing the submission, you won't get the emails sent out. Let me know if this helps at all... - Ben RE: Email on submission of form not working - martin_undefined - Mar 22nd, 2010 Hi, Missed that this is a known bug. I am indeed using the ipn.php route. Any workarounds? Thanks Martin (Mar 22nd, 2010, 8:11 PM)Ben Wrote: Hey Martin, RE: Email on submission of form not working - dcw - Apr 9th, 2010 The code to trigger sending of the mail just seems to be missing in the ft_finalize_submission function. I found this worked (updating version 2.0.0) global/code/submissions.php line ~852 find the function function ft_finalize_submission($form_id, $submission_id) just before return true; } in the function add ft_send_emails("on_submission", $form_id, $submission_id); so the function looks like Code: function ft_finalize_submission($form_id, $submission_id) That works well for me (Mar 22nd, 2010, 10:14 PM)martin_undefined Wrote: Hi, RE: Email on submission of form not working - LoganBayldon - Jun 28th, 2020 You are doing good work RE: Email on submission of form not working - BraydenWilks - Jun 28th, 2020 I must say that this kind of issue may occur so you don't need to worry about this. As this has happened with me also and i turn off it and reopen. You can get hnd assignment help from us to write educational task easily. By doing this and sending it again, the issue has been resolved. RE: Email on submission of form not working - mandyangelica - Jul 6th, 2020 I think Emails are best ever sent out whilst the submission gets finalized. So when you have a ten web page shape, manifestly you wouldn't need it emails dispatched out on every step of the manner. Instead, the e-mail gets hnd assignment help. RE: Email on submission of form not working - Degni - Jan 15th, 2021 Hallå! Om du har problem med din penis, rekommenderar jag webbplatsen https://svensktapotek.net/, på den hittar du snabbt ett bra läkemedel för att öka styrkan, vilket snabbt kommer att bli av med alla problem. Klicka på länken och beställa den just nu! |