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:
- 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.