This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Receiving notification of saved application in BCC
Started 8 years ago by Sahn | 5 posts |
-
Dear member of the forum, dear support,
I just purchased the latest version of Machform, but I used MachForm 3.5 for 2 years.
On Machform 3.5 I was able to receive "saved application"
"Thank you! Your submission to XXXX has been saved.You can resume the form at any time by clicking the link below:
http://XXXXXview.php?id=36681&mf;_resume=ec6fc291fd"For this I had edited the file /includes/helper-functions.php on line 1620
//MSA Started
// $query = "SELECTsmtp_username
EmailAdd
FROM" . MF_TABLE_PREFIX . "settings
";
// $params = array();
// $sth = mf_do_query($query, $params, $dbh);
// while ($row = mf_do_fetch_result($sth))
// $s_message->addCc($row['EmailAdd']);
$s_message->addBcc('staffemail1@company.ch');
$s_message->addBcc('staffemail2@company.ch');
//MSA FinishedWith this my staff was able to contact customers who saved their application without submitting it, to make the sell.
I don't know how to do the same with the latest version of Machform, could you please help me ?
Synthesis : I would like my staff to be in BCC of notification that customer receives when he saves his appication without submitting it.
I remain available for any clarification I can provide, your help is very appreciated, many thanks!!! :-)
Posted 8 years ago # -
You can edit the same file "machform/includes/helper-functions.php file.
Search around line 1663 for this code:->setTo($resume_email)
exactly below that code, add this:
->setBcc(array('staffemail1@company.ch','staffcompany2@company.ch'))
MachForm Founder
Posted 8 years ago # -
Many thanks Yuniar, it works perfectly, you made such an amazing job with Machform !!! :-)
Posted 8 years ago # -
@yuniar: I assume this modification would send every "save and resume" email for every form that had the "save and resume" feature activated to the email addresses given in the new line of code. I would like you to consider adding the functionality for including a list of Bcc addresses in the form manager graphical user interface, so that Bcc "save and resume" emails can be sent out on a form-by-form basis, for forms with the "save and resume" feature activated.
Posted 8 years ago # -
Yes, the code above will affect every form that has the "save and resume" feature.
MachForm Founder
Posted 8 years ago #
Reply
You must log in to post.