We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4907c8a commit b25961fCopy full SHA for b25961f
1 file changed
includes/class-admin-settings.php
@@ -405,6 +405,11 @@ public function ajax_test_connection() {
405
$to = ! empty( $options['from_email'] ) ? $options['from_email'] : get_bloginfo( 'admin_email' );
406
}
407
408
+ // Ensure JMAP mailer is active for the test send, even if routing is disabled.
409
+ if ( ! has_filter( 'pre_wp_mail' ) ) {
410
+ new Bulwark_JMAP_Mailer( $options );
411
+ }
412
+
413
$mail_error = null;
414
$error_handler = function( $error ) use ( &$mail_error ) {
415
$mail_error = $error;
0 commit comments