• First of all, thank you very much for the plugin, it’s fantastic.

    I want to know if there is a way to completely disable sending emails using some function in the wp-config.php.

    Example: define( ‘WPMS_ON’, true ); or False.

    I need it to be able to deactivate the sending of emails when I switch my website to staging.

    I just need to know the name of the function to be able to include it in my wp-config.php

    Thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shahjahan Jewel

    (@techjewel)

    FluentSMTP has an option in the setting where you can disable all email sending and then it will just simulate the emails.

    Thread Starter Juan Luis Martel

    (@usblsb)

    Hello, thank you very much for your reply.

    Yes, I know that FluentSMTP has that setting in the admin area.

    I was asking if I could enable or disable that same setting from the wp-config.

    For me it is essential because there are websites that when I pass them to staging, they send subscription emails.

    If the owner of the website forgets to disable the FluentSMTP setting, when the website is staged it will send a lot of emails to the users.

    I see from your answer that you don’t have it yet.

    Thank you very much for replying.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to disable email sending from wp-config.php’ is closed to new replies.