updated plugin WP Mail SMTP version 2.0.1

This commit is contained in:
2020-05-10 13:10:06 +00:00
committed by Gitium
parent 57b2d39b8f
commit 04443ddae8
39 changed files with 334 additions and 4319 deletions

View File

@ -186,6 +186,8 @@ class Mailer extends MailerAbstract {
if ( $type === 'html' ) {
$content_type = 'text/html';
} else {
$content_value = nl2br( $content_value );
}
$data[] = array(
@ -204,7 +206,8 @@ class Mailer extends MailerAbstract {
$data['value'] = $content;
if ( $this->phpmailer->ContentType === 'text/plain' ) {
$data['type'] = 'text/plain';
$data['type'] = 'text/plain';
$data['value'] = nl2br( $data['value'] );
}
$this->set_body_param(