WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Contact Forms by Cimatti
[resolved] How to set email sender name (5 posts)

  1. Noone Here
    Member
    Posted 9 months ago #

    Hello!

    I would like to ask, how can I set the email sender's name that is appearing with the From: address in the confirmation email which gets the person who completed the form? Right now it says WordPress, and I cannot find a way to change that. I have put in the same email address that is set up for the WordPress installation for admin notifications in Settings->General->Email address.

    The website is hosted at Bluehost.

    Thank you very much!
    Balint

    http://wordpress.org/plugins/contact-forms/

  2. Krist├Żna
    Member
    Posted 9 months ago #

    In file accua-forms.php change line 2896:

    from

    $header[] = 'From: '.$form_data_replaced['emails_from'];

    to

    $header[] = 'From: '.$form_data_replaced['emails_from'].' <'.$form_data_replaced['emails_from'].'>';

  3. Noone Here
    Member
    Posted 9 months ago #

    Thank you very much! It works now!

  4. cimatti
    Member
    Plugin Author

    Posted 9 months ago #

    Hello Krist├Żna and Toth Balint BT, sorry for the delay in answering.

    The possibility is already incorporated in the plugin itself and a screenshot is available in the faq on our website:
    http://www.cimatti.it/wordpress/contact-forms/faq/
    under "We want to customize the name that emails come from"...

    So for this problem it is better to solve without changing the code.

  5. Noone Here
    Member
    Posted 9 months ago #

    Oh, thank you! I was not aware of that...

    If I may suggest a tiny improvement, you should incorporate this info by filling in some demo content in the proper textbox as default value. Because I have tried with typing in the email address and the sender name also, but obviously without any success.

    Thank you again! You have a created really good plugin! Keep up the good work!

    Balint

Reply

You must log in to post.

About this Plugin

About this Topic