Support » Plugin: Fast Secure Contact Form » Including name in confirmation email?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try the following:
    Open si-contact-form-process.php and go to line 1079-1081. You will find :

    $subj = preg_replace('/(\[ex_field)(\d+)(\])/','',$subj); // remove empty ex_field tags
    $msg = preg_replace('/(\[ex_field)(\d+)(\])/','',$msg);   // remove empty ex_field tags
    $subj = str_replace('[form_label]',$posted_form_name,$subj);

    Add following line behind it:
    $msg = str_replace('[to_contact]',$to_contact,$msg);

    Now you can use the tag [to_contact] in the confirmation e-mail that gives you the name of the recipient.

    Enjoy!

    No need to edit the form code for that,
    See this page for the instructions on how to use the available tags

    How to send a confirmation email to the user?

    Sorry Mike, but the field tag [to_contact], which gives the name of the recipient, is not available in your original version. Therefore I had to do the modification.

    BR
    Mattki

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Including name in confirmation email?’ is closed to new replies.