split mailbuilder types

This commit is contained in:
nupplaPhil
2020-02-04 21:27:52 +01:00
parent 34dce9fd76
commit cb08912926
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);
}
/**