⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.142
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
softpos.com.ng
/
app
/
Mail
/
View File Name :
CommonEmailTemplate.php
template = $template; $this->settings = $settings; } /** * Build the message. * * @return $this */ public function build() { // dd( $this->template,$this->settings); if(\Auth::user()->isSuperAdmin()){ $from = env('MAIL_FROM_ADDRESS'); return $this->from(env('MAIL_FROM_ADDRESS'), $from)->markdown('emails.common_email_template')->subject($this->template->subject)->with( [ 'content' => $this->template->content, 'mail_header' => env('APP_NAME'), ] ); }else{ // $from = !empty($this->settings['company_email_from_name']) ? $this->settings['company_email_from_name'] : $this->template->from; // return $this->from($this->settings['company_email'], $from)->markdown('emails.common_email_template')->subject($this->template->subject)->with( // [ // 'content' => $this->template->content, // 'mail_header' => $this->settings['company_name'], // ] // ); $from = !empty($this->settings['MAIL_FROM_ADDRESS']) ? $this->settings['MAIL_FROM_ADDRESS'] : $this->template->from; return $this->from($this->settings['MAIL_FROM_ADDRESS'], $from)->markdown('emails.common_email_template')->subject($this->template->subject)->with( [ 'content' => $this->template->content, 'mail_header' => (isset($this->settings['company_name'])&&!empty($this->settings['company_name'])) ? $this->settings['company_name'] : env('APP_NAME'),//$this->settings['company_name'], ] ); } } }