getMessage(); } } else { $status = __( 'Some of the test fields are empty or an invalid email supplied', 'wp-smtp' ); } if ( ! $status ) { if ( $result === true ) { $status = __( 'Message sent!', 'wp-smtp' ); $class = 'success'; } else { $status = \WPSMTP\Admin::$phpmailer_error->get_error_message(); } } echo '
' . wp_kses_post( $status ) . '
' . esc_html__( 'The field "From" must be a valid email address!', 'WP-SMTP' ) . '
' . esc_html__( 'The field "SMTP Host" can not be left blank!', 'WP-SMTP' ) . '
' . esc_html__( 'Options saved.', 'WP-SMTP' ) . '