Set sender data directly

This commit is contained in:
nupplaPhil 2020-02-01 23:42:56 +01:00
parent 97e708f2e2
commit ca67e3111c
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
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;
}
/**