Skip to content

Commit

Permalink
added utf encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
peni4142 committed Dec 12, 2023
1 parent d0786a9 commit 9bdcb78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Classes/Domain/Finishers/SmtpFinisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ private function notify(): void
$mailer->Username = $this->options["username"];
$mailer->Password = $this->options["password"];

$mailer->CharSet = "UTF-8";
$mailer->Encoding = 'base64';

$mailer->setFrom($this->options["senderAddress"]);
foreach ($this->parseOption('notifying') as $notifyingEmail => $notifyingName) {
if ($notifyingEmail != null && $notifyingName != null) {
Expand Down Expand Up @@ -120,6 +123,9 @@ private function confirmInput(): void
$mailer->Username = $this->options["username"];
$mailer->Password = $this->options["password"];

$mailer->CharSet = "UTF-8";
$mailer->Encoding = 'base64';

$mailer->setFrom($this->options["senderAddress"]);
foreach ($this->parseOption('recipients') as $recipientEmail => $recipientName) {
$mailer->addAddress($this->parseText($recipientEmail), $this->parseText($recipientName));
Expand Down

0 comments on commit 9bdcb78

Please sign in to comment.