Merge 4030976ac2b74534468cf9af7adfd9b1795db5af into 20720ca4f9175373ee8075fc18ce823707350534

This commit is contained in:
J0WI 2022-09-18 11:46:10 +09:00 committed by GitHub
commit 314004fed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ class MailSender {
public function setConnectionSettings($host, $user, $pass, $serverEmail) {
$this->mailOptions['from'] = $serverEmail;
$this->mailOptions['fromName'] = 'OpenSupports';
$this->mailOptions['fromName'] = Setting::getSetting('title')->getValue();
$this->mailOptions['smtp-host'] = $host;
$this->mailOptions['smtp-user'] = $user;