• In the basic CF7 form is possible to setup the “sender” and “replyto” values via specific or additional headers fields: since the email of the confirmation process seems to be sent via the wordpress@mydomain by default only, is it possible to set those values for the opt-in form somehow?

    thank you again for your good plugin ??

Viewing 1 replies (of 1 total)
  • You can use this in functions.php:

    // Function to change email address
    functionwpb_sender_email( $original_email_address) {
    ????return'[email protected]';
    }
    
    // Function to change sender name
    functionwpb_sender_name( $original_email_from) {
    ????return'Tim Smith';
    }
    
    // Hooking up our functions to WordPress filters
    add_filter( 'wp_mail_from', 'wpb_sender_email');
    add_filter( 'wp_mail_from_name', 'wpb_sender_name');
Viewing 1 replies (of 1 total)
  • The topic ‘[feature-request] setting the sender and extra headers in opt-in form’ is closed to new replies.