Formidable Pro send mail manually
-
I’m currently running a PHP script, modifying a little bit the Formidable Pro behavior while submit a form.
I send the data to a distant PHP script, and then I retrieve somes info from this distant PHP script, and update the form entry. Here is a litte piece of code to illustrate :
`if (isset($pushForm)) {
$errorCodeField = get_id_from_key_frm(‘resid’);
$errorMessageField = get_id_from_key_frm(‘errormess’);
}
if (isset($getForm)) {
$errorCodeField = get_id_from_key_frm(‘resid2’);
$errorMessageField = get_id_from_key_frm(‘errormess2’);
}
$frm_entry_meta->update_entry_meta($entryId, $errorCodeField, null, $errorCode);
$frm_entry_meta->update_entry_meta($entryId, $errorMessageField, null, $errorMessage);`My problem is the following :
I had to send an e-mail after the entry are updated. I try to set it like this, but the mail isn’t send.. So I check a little bit in the Formidable github and found the FrmEmail class, with the send() function. But I don’t found any hint on how to use it.
Any help about this ?
Thanks in advance
- The topic ‘Formidable Pro send mail manually’ is closed to new replies.