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

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Looking to send e-mails to multiple emaill fields on the form


  1. jimromo
    Member

    Hi,
    I've got a form that will include the e-mail address of the sender, but I also need to send an e-mail to the sales person associated with the visitor.

    I have a field on the form that holds the visitor's e-mail address. I also have another field that holds the salesperson's e-mail address. I am planning to have this as a hidden field, and setting the default value via a session variable, as described in another post.

    However, there is no way for me to specify multiple addresses in the 'Your Users' part of the admin screen.

    Please advise,
    Jim

    Posted 16 years ago #
  2. yuniar

    Hmm.. this would require pretty much modification. You will need to modify the backend script which process the email sending to your users.

    You need to modify "includes/post-functions.php" file, particularly around line 1163:

    send_notification($form_id,$record_insert_id,$esr_email_address,$user_email_param);

    that's the code to send email.

    I suppose you could duplicate that line and pass another email address as parameter.


    MachForm Founder

    Posted 16 years ago #

RSS feed for this topic

Reply