Change E-Mail recipient adress for Apointments+?

Hi,

I would like to change the e-mail address appointments+ is sending mails to without changing the system e-mail address of wordpress. How can I do this please?

I need this so the system e-mails of wordpress go to our support account and the client gets his appointment notifications in his account.

Thanks.

  • Bojan Radonic
    • Head of Support

    Hey there @Ingenieurbüro Dr. Plesnik GmbH, hope you're well today!

    If I understand correctly you're looking to change the appointment+ admin email without changing the admin email in the WordPress admin panel. If this is the case you can do that by adding the following to your theme functions.php:

    function override_admin_email($admin_email){
        $my_custom_email = 'email@domain.com';
        return $my_custom_email;
    }
    add_filter( 'app_get_admin_email', 'override_admin_email', 999, 1 );

    Change email@domain.com for your email.

    Hope this helps :slight_smile:

    Best regards,
    Bojan

  • Jude
    • DEV MAN

    Hi there @Ingenieurbüro Dr. Plesnik GmbH

    Here is some code that can add this (CC) for you

    apply_filters( 'app_message_headers',  ' add_cc');
    
    function add_cc ( $message_headers )
    {
        return $message_headers . "cc : someone@mysite.com" ;
    }

    Similarly for BCC

    apply_filters( 'app_message_headers',  ' add_bcc');
    
    function add_bcc ( $message_headers )
    {
        return $message_headers . "bcc : someone@mysite.com" ;
    }

    Hope that helps

    Cheers
    Jude

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.