Open ebruchez opened 4 years ago
History of the Java Mail API:
Version 1.6.0 says it's supports "internationalized email addresses (RFC 6530/6531/6532)". So we should try to upgrade to a newer version and see if things work.
It seems that only the APIs are at the Jakarta Mail API.
This said, upgrading to 1.6.2, I get a syntax error from GMail:
555 5.5.2 Syntax error. n12sm12033364pgb.32 - gsmtp
Consider mail.mime.allowutf8=true
: check if already set to that, and if the behavior changes if we change it.
Also check if we can enable debugging in Java Mail to see what's the message sent (props.put("mail.debug", "true")
).
Commit that implements "addressing i18n via RFC 6530/6531/6532": https://github.com/javaee/javamail/commit/d3409129f503c6b0e45bd2bb1e6f0cc0b1fc3d86#diff-81e1ed46db30c51becd0b208de1c7699
Example: "ÆØÅ@gmail.com" fails.
+1 from customer