Replies: 0
Hi,
I’ve constants defined only. No wp_options keys.
Whenever I go to Test Email I get this:
“Send Email You cannot send an email. Mailer is not properly configured. Please check your settings.”
Looking at the code I see the bug here:
wp-mail-smtp/src/Providers/SMTP/Mailer.php
// Host and Port are the only really required options.
if (
! empty( $options['host'] ) &&
! empty( $options['port'] )
) {
return true;
}
You’re only checking the populated options and the populated options read from DB only.
Cheers