updated plugin WP Mail SMTP
version 2.3.1
This commit is contained in:
@ -21,15 +21,6 @@ class Processor {
|
||||
*/
|
||||
protected $wp_mail_from;
|
||||
|
||||
/**
|
||||
* Processor constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __construct() {
|
||||
$this->hooks();
|
||||
}
|
||||
|
||||
/**
|
||||
* Assign all hooks to proper places.
|
||||
*
|
||||
@ -152,8 +143,8 @@ class Processor {
|
||||
|
||||
if ( $mailer === 'gmail' ) {
|
||||
$forced = true;
|
||||
} elseif ( $mailer === 'outlook' ) {
|
||||
$sender = $options->get( 'outlook', 'user_details' );
|
||||
} elseif ( in_array( $mailer, [ 'outlook', 'zoho' ], true ) ) {
|
||||
$sender = $options->get( $mailer, 'user_details' );
|
||||
$from_email = ! empty( $sender['email'] ) ? $sender['email'] : '';
|
||||
$forced = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user