Overview
Comment: | Allow a specific API to handle bounces |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
e197092ce66f33e77d434e263767d19f |
User & Date: | bohwaz on 2022-06-03 13:20:59 |
Other Links: | manifest | tags |
Context
2022-06-03
| ||
13:25 | Fix initialized variable check-in: 3af6197209 user: bohwaz tags: trunk, stable | |
13:20 | Allow a specific API to handle bounces check-in: e197092ce6 user: bohwaz tags: trunk, stable | |
11:08 | Fix Render of markdown/skriv check-in: 5d23dafce3 user: bohwaz tags: trunk, stable, 1.1.25 | |
Changes
Modified src/include/lib/Garradin/Users/Emails.php from [30493c9948] to [4c22935f75].
︙ | ︙ | |||
504 505 506 507 508 509 510 511 512 513 514 515 516 517 | $new->attachMessage($message->output()); self::sendMessage(self::CONTEXT_SYSTEM, $new); return $return; } $email = self::getOrCreateEmail($return['recipient']); if (!$email) { return null; } Plugin::fireSignal('email.bounce', compact('email', 'return')); | > > > > > > | 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 | $new->attachMessage($message->output()); self::sendMessage(self::CONTEXT_SYSTEM, $new); return $return; } return self::handleManualBounce($return['recipient'], $return['type'], $return['message']); } static public function handleManualBounce(string $recipient, string $type, ?string $message): ?array { $return = compact('recipient', 'type', 'message'); $email = self::getOrCreateEmail($return['recipient']); if (!$email) { return null; } Plugin::fireSignal('email.bounce', compact('email', 'return')); |
︙ | ︙ |