Skip to content

Commit ca235c3

Browse files
committed
handle free.fr over quota
1 parent 87d46e9 commit ca235c3

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/MxDetector.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ class MxDetector
5151
'method' => '_endsWith',
5252
'type' => ProviderInterface::EVENT_BOUNCE_QUOTA,
5353
],
54+
[
55+
'needle' => 'user quota exceeded',
56+
'method' => '_contains',
57+
'type' => ProviderInterface::EVENT_BOUNCE_QUOTA,
58+
],
5459

5560
// Hard
5661
[

tests/resources/mx_responses.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111

1212
return [
1313
ProviderInterface::EVENT_BOUNCE_QUOTA => [
14+
'free_1' => '552 5.2.2 user quota exceeded (UserSearch)',
1415
'gmail_1' => "452-4.2.2 The recipient's inbox is out of storage space. Please direct the\n452-4.2.2 recipient to\n452 4.2.2 https://support.google.com/mail/?p=OverQuotaTemp ffacd0b85a97d-3b76fcff3f8si2004203f8f.527 - gsmtp",
16+
'icloud_1' => '552 5.2.2 <[email protected]>: user is over quota',
17+
'ionos_1' => '552-Requested mail action aborted: exceeded storage allocation',
1518
'laposte_1' => '552 5.2.2 \[email protected]\u003e: Over quota',
1619
'orange_1' => '552 5.1.1 hibJumn68I371 Boite du destinataire pleine. Recipient overquota. OFR_417 [417]',
17-
'ionos_1' => '552-Requested mail action aborted: exceeded storage allocation',
18-
'icloud_1' => '552 5.2.2 <[email protected]>: user is over quota',
1920
],
2021
ProviderInterface::EVENT_BOUNCE_SOFT => [
2122
],

0 commit comments

Comments
 (0)