split mailbuilder types

This commit is contained in:
nupplaPhil 2020-02-04 21:27:52 +01:00
parent 34dce9fd76
commit cb08912926
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 34 additions and 12 deletions

View file

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