• Resolved bringlesedev

    (@bringlesedev)


    Hi, I wanted to understand how this plugin works. I started using it because I use FunnelKit Automations together with WP Mail SMTP, and I’m noticing that when multiple emails are sent at the same time, some of them show as sent in the log, but they actually don’t arrive.

    Does Mail Queue create a real queue, meaning one email is sent after the other? Or does it just set a limit on how many emails can be sent within a certain period of time?

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

    (@wdm-team)

    Hi bringlesedev,

    thanks for your question! Yes, MailQueue does have a real queue.
    It intercepts wp_mail() and puts the mail into its queue. By the WordPress cron, it will then send as many emails as you define.

    Please note: If you have any other plugins installed, which manipulate wp_mail(), things could not work. For example, you’re using WP Mail SMTP.

    Now, you have two options:

    • Uninstall MailQueue, or
    • set your SMTP settings into the functions.php using the “phpmailer_init” action of WordPress.

    Example code:


    //

    // SMTP Settings

    //

    function custom_smtp_settings($phpmailer) {

        global $wpdb;

        $phpmailer->isSMTP();    

        $phpmailer->Host = 'xxxx.your-domain.com';

        $phpmailer->SMTPAuth = true;

        $phpmailer->Port = 587;

        $phpmailer->Username = 'your-username';

        $phpmailer->Password = 'your-password';

        $phpmailer->SMTPSecure = "tls"; // Choose SSL or TLS, if necessary for your server

        $phpmailer->From = "[email protected]";

        $phpmailer->FromName = "Your Name";

    }

    add_action('phpmailer_init','custom_smtp_settings');

    Kind regards,
    Nicolas

    Plugin Author WDM

    (@wdm-team)

    And one more addition: You are using FunnelKit Automations, which can or will also intervene in e-mail dispatch. Unfortunately, this makes it impossible to use the queue reliably and you cannot use the Mail Queue plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How this plugin works’ is closed to new replies.