Support » Plugin: Custom Contact Forms » [Plugin: Custom Contact Forms] Senders email

Viewing 6 replies - 1 through 6 (of 6 total)
  • I don’t know why this has not been answered, but I figured out how to do this by sort of dinking around. In the custom-contact-forms-front.php, search for this line:
    $mail->FromName = $from_name;

    and change it to the slug you use for your fixed email (here is mine)

    $mail->FromName = $fixedEmail;

    Hope this helps! Actually, it may even be possible to just insert that slug when you are creating the form to begin with. haven’t tested that yet.

    I’ve tried entering $fixedEmail in the form creation field and it doesn’t work.

    Would love to be able to easily send an email to the person who sent in the form as well as it go to the a defined recipient.

    Hi AKnecht,
    The place to enter this is not in the form creation field, but in the file called custom-contact-forms-front.php You kind of have to go into your files to find this; it is NOT in your wordpress dashboard. I am not sure how to direct you to find this file, as every one has a different set up. When you install a plug-in, those files are kept somewhere on your domain. You might ask your isp if what I’m saying does not make sense to you. Sorry! I am not a computer tech, just an intrepid amateur who is not afraid to stick her nose behind the scenes!


    Thanks for the feedback. I know exactly what you’re talking about and how to to it. I just wish I could do it via the interface (much easier) as occasionally when plugins are upgraded, all the custom code gets overwritten and you can be screwed.

    So I just had to test that method out.

    Hi folks,

    first post, wordpress newbie – apologies in advance.

    I changed the custom-contact-forms-front.php (After backup of course), line 591
    $mail->FromName = $from_name;
    $mail->FromName = $Email;

    $Email is a slug of an existing field.

    no discernable change in behavior.

    do I have to reload, reboot, re???? something for it to take effect?

    is there a difference from a fixed slug to a normal slug?

    I recognize that I must use the Email filed on all forms otherwise I will have problems.

    thanks in advance.

    ok, seems like fixed is required and cannot use normal slug. I can work around it.

    A litle binder twine and bubblegum and I’m in business….


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Custom Contact Forms] Senders email’ is closed to new replies.