Commit cf7c67f
committed
🔒 Add from_address emptiness check to prevent mailbox sync failures on null addresses
- Skip blocked email and matching rule checks when message from_address is empty to avoid errors
- Wrap existing block rule logic in from_address presence checks for both new message import and matching rule evaluation
- Prevents edge-case crashes when processing emails without a valid sender address1 parent 56dcfe0 commit cf7c67f
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
634 | | - | |
635 | | - | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
636 | 638 | | |
637 | 639 | | |
638 | 640 | | |
| |||
1446 | 1448 | | |
1447 | 1449 | | |
1448 | 1450 | | |
1449 | | - | |
1450 | | - | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
1451 | 1455 | | |
1452 | 1456 | | |
1453 | 1457 | | |
| |||
0 commit comments