Set sender data directly

This commit is contained in:
nupplaPhil
2020-02-01 23:42:56 +01:00
parent 97e708f2e2
commit ca67e3111c
2 changed files with 61 additions and 1 deletions

View File

@@ -37,7 +37,9 @@ class SystemMailBuilder extends MailBuilder
}
// Set the system wide site address/name as sender (default for system mails)
$this->withSender($siteEmailAddress, $siteName);
$this->senderName = $siteName;
$this->senderAddress = $siteEmailAddress;
$this->senderNoReply = $siteEmailAddress;
}
/**