mox/smtp
Mechiel Lukkien 016fde8d78
fix parsing message headers with addresses that need double quotes
we are using Go's net/mail to parse message headers. it can parse addresses,
and properly decodes email addresses with double quotes (e.g. " "@example.com).
however, it gives us an address without the double quotes in the localpart,
effectively an invalid address. we now have a workaround to parse such
not-quite-addresses.

for issue #199 reported by gene-hightower, thanks for reporting!
2024-08-22 16:03:52 +02:00
..
address.go fix parsing message headers with addresses that need double quotes 2024-08-22 16:03:52 +02:00
address_test.go mox! 2023-01-30 14:27:06 +01:00
addrlit.go mox! 2023-01-30 14:27:06 +01:00
codes.go fix typo in smtp error code 2024-04-14 12:42:47 +02:00
data.go fix incorrect error about bare cr/lf when sending a message over smtp 2024-02-16 20:20:58 +01:00
data_test.go fix incorrect error about bare cr/lf when sending a message over smtp 2024-02-16 20:20:58 +01:00
doc.go mox! 2023-01-30 14:27:06 +01:00
ehlo.go mox! 2023-01-30 14:27:06 +01:00
path.go when logging email addresses with IDNA domain and/or special characters or utf8 in localpart, log both native utf8 form and form with escape localpart and ascii-only domain 2023-03-09 20:18:34 +01:00