芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Notifications/BaseNotification.php
company; if (!is_null($company)) { App::setLocale($company->locale ?? 'en'); } $smtpSetting = SmtpSetting::first(); $build = (new MailMessage); $replyName = $companyName = $smtpSetting->mail_from_name; $replyEmail = $companyEmail = $smtpSetting->mail_from_email; $globalSetting = GlobalSetting::first(); Config::set('app.logo', $globalSetting->masked_logo_url); if (isWorksuite()) { return $build->from($companyEmail, $companyName); } if (!is_null($company)) { $replyName = $company->company_name; $replyEmail = $company->company_email; Config::set('app.logo', $company->masked_logo_url); } $companyEmail = config('mail.verified') === true ? $companyEmail : $replyEmail; $companyName = config('mail.verified') === true ? $companyName : $replyName; return $build->from($companyEmail, $companyName)->replyTo($replyEmail, $replyName); } protected function modifyUrl($url) { return getDomainSpecificUrl($url, $this->company); } }