E-Mail-Adressen: Umlaute im lokalen Teil bei der Eingabe abweisen
Log-Analyse 26.08. (P1-4): Adressen wie "ruediger@..." mit Umlaut im lokalen Teil lehnt der Mailer ab; Checkout-Bestaetigung und Abo-Erinnerung scheiterten. Registrierung, Checkout, Kunden- und Profilformulare pruefen jetzt mit email:filter. Die Abo-Erinnerung ueberspringt bestehende Adressen dieser Art mit einem Log-Eintrag statt einer Transport-Exception. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7daebf32eb
commit
323024f65d
10 changed files with 24 additions and 12 deletions
|
|
@ -51,6 +51,18 @@ class AboSendExecutionReminder extends Command
|
|||
continue;
|
||||
}
|
||||
|
||||
// Symfony Mailer lehnt Nicht-ASCII im local-part ab. Vorab pruefen, damit
|
||||
// im Log die Adresse statt einer Transport-Exception steht.
|
||||
if (! filter_var($email, FILTER_VALIDATE_EMAIL)) {
|
||||
$skipped++;
|
||||
Log::channel('abo_order')->error('AboSendExecutionReminder: Empfaengeradresse nicht versandfaehig', [
|
||||
'abo_id' => $abo->id,
|
||||
'email' => $email,
|
||||
]);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($dryRun) {
|
||||
$sent++;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue