Support » Plugin: Constant Contact Forms » Changing the ‘To’ email address

  • Resolved Atxwebdesigner


    Hi Support,

    We installed and using your plugin in the below website:

    After filling the form and clicking ‘Send’ button, we are getting contact form information to the email address.

    Can you tell me how to change the email address to recieve the contact form info after filling the form..

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Constant Contact


    Good day @nuevesolutions

    We’re investigating how to provide a more straightforward way to customize destination emails, and per-form emails.

    For now, it defaults to the admin email shown when you visit Settings > General, however if you or someone else on your team is a little code savvy, we do provide a filter that can be used to change what we use.

    $email = get_option( 'admin_email' );
     * Filters the email to send Constant Contact Forms admin emails to.
     * @since 1.3.0
     * @param string $email Email address to send to. Default admin_email option.
    return apply_filters( 'constant_contact_destination_email', $email );

    You can change it using something like the following:

    function nue_custom_email( $original_email ) {
        return '';
    add_filter( 'constant_contact_destination_email', 'nue_custom_email' );

    Let us know if you have any questions or concerns. Thanks

    Thread Starter Atxwebdesigner


    Hi Support,

    Thank you for your response.

    Plugin Author Constant Contact


    Welcome. Let us know if you need anything else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing the ‘To’ email address’ is closed to new replies.