Skip to content

Commit 6ceb3e5

Browse files
authored
Merge pull request #8855 from kenjis/fix-Email-default-values
fix: correct property default values in Email
2 parents 581eb85 + 88eebb5 commit 6ceb3e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

system/Email/Email.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class Email
151151
*
152152
* @var string
153153
*/
154-
public $charset = 'utf-8';
154+
public $charset = 'UTF-8';
155155

156156
/**
157157
* Alternative message (for HTML messages only)
@@ -182,7 +182,7 @@ class Email
182182
*
183183
* @var string "\r\n" or "\n"
184184
*/
185-
public $newline = "\n";
185+
public $newline = "\r\n";
186186

187187
/**
188188
* CRLF character sequence
@@ -197,7 +197,7 @@ class Email
197197
*
198198
* @var string
199199
*/
200-
public $CRLF = "\n";
200+
public $CRLF = "\r\n";
201201

202202
/**
203203
* Whether to use Delivery Status Notification.

0 commit comments

Comments
 (0)