• Hi there,

    In working with elementor pro – form to send a user an email after filling out a registration on my site.

    Now the New User gets 2 Mails the one i created in Elementor form widget and the WP default „Welcome to!“ Mail.

    I tried the Plugins Better Notification and manage notification mails.

    Both do not work.
    Is there another Plugin that wil actually work. Thing is I cant even say why its not working.. Im not skilled with php, but if there is a code that can be addded to the funtions.php or what ever.. ill try

    Thanks anybody for helpful informations

    • This topic was modified 4 years, 2 months ago by jovalfhnw.
    • This topic was modified 4 years, 2 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 6 replies - 1 through 6 (of 6 total)
  • It would make more sense to modify the default email than to try to stop it being sent. Most plugins that you will find would be modifying, not eliminating.

    Thread Starter jovalfhnw

    (@jovalfhnw)

    Ok.
    But, I have absolutely no idea how to put the verification link from the Elementor Pro form (with the actions pack for elementor form widget), which I cant see, into the default email from WP…
    For this you probably will need some advanced programming knowledge, that I dont have.

    Can’t be that Im the first with this kind a issue, im lost..

    Any suggestions?

    • This reply was modified 4 years, 2 months ago by jovalfhnw.

    You probably are not the first, but you should be asking that over at the Elementor Pro support forum, as they will be the ones that know.

    Thread Starter jovalfhnw

    (@jovalfhnw)

    ok thanks

    Thread Starter jovalfhnw

    (@jovalfhnw)

    So I talked to the Plugin developer and he said its not an issue on the plugin side..
    Shouldnt it be easy in the wp_mail() function to state that no Mail should be send to a new user?

    You could try this code snippet:

    /**
     * Disable the New User Email Notification
     *
     * @return void
     */
    function wpforms12352443_remove_registration_email(){
        remove_action( 'register_new_user', 'wp_send_new_user_notifications' );
    }
    add_action( 'init', 'wpforms12352443_remove_registration_email', 20 );

    You should both have a backup of your site ( files and database ) and know how to restore should something go wrong.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Stop WP default Mails’ is closed to new replies.