design anpassung
This commit is contained in:
@@ -20,11 +20,11 @@ final class MailerService
|
||||
$textBody = trim($textBody);
|
||||
|
||||
if ($to === '' || !filter_var($to, FILTER_VALIDATE_EMAIL)) {
|
||||
throw new RuntimeException('Die Zieladresse fuer den Mailversand ist ungueltig.');
|
||||
throw new RuntimeException('Die Zieladresse für den Mailversand ist ungültig.');
|
||||
}
|
||||
|
||||
if ($subject === '' || $textBody === '') {
|
||||
throw new RuntimeException('Betreff und Inhalt fuer den Mailversand sind erforderlich.');
|
||||
throw new RuntimeException('Betreff und Inhalt für den Mailversand sind erforderlich.');
|
||||
}
|
||||
|
||||
$subjectLine = $this->encodeSubject($this->sanitizeHeaderValue($this->subjectPrefix() . $subject));
|
||||
@@ -61,7 +61,7 @@ final class MailerService
|
||||
'MIME-Version: 1.0',
|
||||
'Content-Type: text/plain; charset=UTF-8',
|
||||
'Content-Transfer-Encoding: 8bit',
|
||||
'X-Mailer: Kaffeeliste-Neustart',
|
||||
'X-Mailer: Kaffeeliste',
|
||||
];
|
||||
|
||||
$from = trim((string) ($this->config['from'] ?? ''));
|
||||
|
||||
Reference in New Issue
Block a user