summaryrefslogtreecommitdiff
path: root/app/Services/MailService.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Services/MailService.php')
-rw-r--r--app/Services/MailService.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/Services/MailService.php b/app/Services/MailService.php
index 4930d90ff9..949a048dee 100644
--- a/app/Services/MailService.php
+++ b/app/Services/MailService.php
@@ -149,7 +149,8 @@ class MailService
*
* @return string
*/
- public function localDomain(): string {
+ public function localDomain(): string
+ {
$local_domain = Site::getPreference('SMTP_HELO');
try {
@@ -167,7 +168,8 @@ class MailService
*
* @return string
*/
- public function senderEmail(): string {
+ public function senderEmail(): string
+ {
$sender = Site::getPreference('SMTP_FROM_NAME');
$default = 'no-reply@' . $this->localDomain();