Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1007869

    Hello:

    I set up contact forms in each portfolio page, and enter a message that will be sent to the users email address once he has submitted the form.
    However, I found the sender’ email address which shows in the email the users received, includes “WordPress” before my email address, for example:
    WordPress< (Email address hidden if logged out) >

    Can I remove the “WordPress” or revise to other customize text?
    As I don’t want the users to get this confusing text in the auto response email.

    Thanks
    Enffie

    #1007931

    Hey Enffie,

    You can try to manually set the from e-mail address – add this code to the child theme functions.php:

    
    add_filter('avf_form_autoresponder_from', 'avf_form_autoresponder_from_mod', 10, 3);
    function avf_form_autoresponder_from_mod($from, $new_post, $form_params) {
        $from = " (Email address hidden if logged out) ";
        return $from;
    }
    

    and replace (Email address hidden if logged out) with your e-mail address.

    If this doesn’t work you maybe need to install a plugin like: https://wordpress.org/plugins/cb-change-mail-sender/ to change the default sender name.

    Best regards,
    Peter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.