mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
send email use main.SITEEMAIL
This commit is contained in:
@@ -341,7 +341,7 @@ class ToolRepository extends BaseRepository
|
||||
|
||||
// Create a message
|
||||
$message = (new Email())
|
||||
->from(new Address($smtp['accountname'], Setting::get('basic.SITENAME')))
|
||||
->from(new Address(Setting::get('main.SITEEMAIL'), Setting::get('basic.SITENAME')))
|
||||
->to($to)
|
||||
->subject($subject)
|
||||
->html($body)
|
||||
|
||||
Reference in New Issue
Block a user