This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Multiple Confirmation Emails.


  1. debra
    Member

    I would like to send a confirmation email to the parent and the second to the student. I can see how to send one confirmaiton, but how would I set it to send to the second person the student. The drop down only allows to select one. There is no option of "all" or "both". Please advise.

    Thank you.
    Debra

    Posted 12 years ago #
  2. redityo

    Hi Debra,

    You will need to customize machform files if you want to send mail notification more than 1 email field to the user.
    Could you send us your form url ? we will help you with the customization code


    MachForm Support

    Posted 12 years ago #
  3. skellis
    Member

    Hello,

    I would like to be able to do this too. My form is on an internal-only intranet URL

    Posted 12 years ago #
  4. redityo

    Hello,

    You can try to use these custom code, I assume your form id is 11 and the first email element id = 1 (this email will be set on machform email setting page) and the second email id = 2..

    Edit "includes/helper-functions.php" and go to around line 643, you will see this code :

    $to_emails 		= str_replace(' ','',str_replace($template_variables,$template_values,$to_emails));

    then put these custom code above that line

    //add another field to send notification
    if ($form_id == 11 ) {
    	$to_emails .= ',{element_2}';
    }

    You can change the id's with yours.


    MachForm Support

    Posted 12 years ago #

RSS feed for this topic

Reply