Merge pull request #2717 from HB9HIL/email_fix_v2

crlf and newline bugfix
这个提交包含在:
Andreas Kristiansen 2023-11-22 14:55:09 +01:00 提交者 GitHub
当前提交 90783ce553
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 3 个文件被更改,包括 6 次插入0 次删除

查看文件

@ -360,6 +360,8 @@ class Options extends CI_Controller {
'smtp_port' => $this->optionslib->get_option('smtpPort'),
'smtp_user' => $this->optionslib->get_option('smtpUsername'),
'smtp_pass' => $this->optionslib->get_option('smtpPassword'),
'crlf' => "\r\n",
'newline' => "\r\n"
);
$this->email->initialize($config);

查看文件

@ -174,6 +174,8 @@ class Oqrs extends CI_Controller {
'smtp_port' => $this->optionslib->get_option('smtpPort'),
'smtp_user' => $this->optionslib->get_option('smtpUsername'),
'smtp_pass' => $this->optionslib->get_option('smtpPassword'),
'crlf' => "\r\n",
'newline' => "\r\n"
);
$this->email->initialize($config);

查看文件

@ -718,6 +718,8 @@ class User extends CI_Controller {
'smtp_port' => $this->optionslib->get_option('smtpPort'),
'smtp_user' => $this->optionslib->get_option('smtpUsername'),
'smtp_pass' => $this->optionslib->get_option('smtpPassword'),
'crlf' => "\r\n",
'newline' => "\r\n"
);
$this->email->initialize($config);