Alan Lam 3 лет назад
Родитель
Сommit
e09c72ae39
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      controllers/document.php

+ 1 - 0
controllers/document.php

@@ -478,6 +478,7 @@ $controller = new class($document_type, $document_number) {
 			$body = str_replace(array_keys($search_replace), array_values($search_replace), $body);
 
 			$mailer = new PHPMailer(true);
+			$mailer->Username = "no-reply@electrocoin.com";
 			$mailer->setFrom("no-reply@electrocoin.com", $company->name);
 			$mailer->addAddress($document->contact_email, $document->contact_name);
 			$mailer->CharSet = PHPMailer::CHARSET_UTF8;