Commit 7e294d5
committed
fix(smtp): improve port handling and response parsing; enhance DKIM signing process
- Updated port assignment logic to handle undefined values correctly.
- Refactored SMTP response parsing to better handle multi-line responses.
- Improved DKIM signing by canonicalizing headers and body, ensuring correct header order.
- Added checks for expected SMTP response codes.
- Enhanced error handling during DKIM signing.
- Adjusted the way additional headers are inserted into the MIME message.
test: skip mailCrab integration tests in non-GitHub Actions environments1 parent 254ca83 commit 7e294d5
File tree
4 files changed
+875
-257
lines changed- src/providers/smtp
- test
4 files changed
+875
-257
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments