Jun 7th, 2010, 1:33 AM
(Jun 6th, 2010, 10:00 PM)Ben Wrote: Hey crunchers,
Ah yes! In 2.0.0 the ft_finalize_submission() function didn't send emails. This was fixed in an earlier version of 2.0.1. I'd suggest upgrading: 2.0.1 is entirely bug fixes and there's been quite a few - I'll be making it the standard release in a week or two.
But in terms of informing administrators BEFORE submissions are finalized, I'm not sure this is really possible... you can send emails at any point of your API form by passing a "send_emails" => true key-value pair in the $params hash to the ft_api_process_form() function, but that will trigger ALL email templates that have been assigned to the "on submission" event.
Hmm... interesting! But yeah, I think you're rather out of luck for the moment.
Sorry about that!
- Ben
Thanks, Ben. I wasn't aware 2.0.1 was available. That really helps. If I understand you correctly, ft_finalize_submission() in 2.0.1 now acts as a trigger for sending emails? If so, then that's excellent!
No problem about the other request. I was merely being hopeful.
(-:
Thanks again, Ben.