mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix 64537818f6
This commit is contained in:
parent
64537818f6
commit
78e339fc9c
2 changed files with 1 additions and 6 deletions
|
|
@ -581,11 +581,6 @@ class Mail
|
|||
$id = $random . '@' . (preg_match('/^(.+)@([^@]+)$/', $sender_email, $matches) ? $matches[2] : 'swift.generated');
|
||||
$this->message->getHeaders()->get('Message-ID')->setId($id);
|
||||
|
||||
if (config('mail.default_force') && config('mail.default_from'))
|
||||
{
|
||||
$this->setFrom(config('mail.default_from'), config('mail.default_name') ?: null);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
$this->sent = $this->driver->send($this) ? true : false;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class Advanced_MailerController extends Advanced_Mailer
|
|||
$mail->setReplyTo($default_reply_to);
|
||||
}
|
||||
}
|
||||
elseif (toBool($config->force_sender ?? 'N'))
|
||||
elseif (toBool($config->force_sender ?? 'N') || config('mail.default_force'))
|
||||
{
|
||||
if (stripos($mail->driver->getName(), 'woorimail') !== false && config('mail.woorimail.api_type') === 'free')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue