Support » Plugin: wpMandrill » Using Jetpack Contact Form with wpMandrill

  • nothin7

    (@nothin7)


    Hey everyone, I couldn’t find anything online about this, so I had to figure it out myself. The wpMandrill plugin mysteriously strips tags from the Jetpack Contact Form submissions. Here’s how to disable wpMandrill for Jetpack Contact Form emails only:

    add_filter( 'mandrill_payload', 'disable_mandrill' );
    function disable_mandrill( $message ) {
        if ( in_array( 'wp_Grunion_Contact_Form->process_submission', $message['tags']['automatic'] ) ) {
            $message['force_native'] = true;
        }
        return $message;
    }

    https://wordpress.org/plugins/wpmandrill/

  • The topic ‘Using Jetpack Contact Form with wpMandrill’ is closed to new replies.