1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Email Quarantine

This commit is contained in:
David Bomba 2023-11-18 19:12:54 +11:00
parent 0d23f862be
commit 3e3c4e348a

View File

@ -386,6 +386,12 @@ class ClientController extends BaseController
$response = $postmark->activateBounce((int)$bounce_id); $response = $postmark->activateBounce((int)$bounce_id);
if($response && $response?->Message == 'OK' && !$response->Bounce->Inactive && $response->Bounce->Email){
$email = $response->Bounce->Email;
//remove email from quarantine. //@TODO
}
return response()->json(['message' => 'Success'], 200); return response()->json(['message' => 'Success'], 200);
} catch(\Exception $e) { } catch(\Exception $e) {