mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Email Quarantine
This commit is contained in:
parent
0d23f862be
commit
3e3c4e348a
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user