I have some email that are rejected from mailfetcherservice because the addresses are separated with semicolon. As from RFC 6068 addreses should be separated using comma, but Microsoft Outlook could use semicolon if not specified otherwise.
Is there any solution to this issue?
Just to add some more details.
The problem is due to mail.jar, a jar that comes from JVM itself, and in particular to InternetAddress.parse(InternetAddress.java:1043). Funny to note the comment before this method refers to it as an "ad-hoc mess".
The only solution that I see is to not rely on javax.mail.Message and use something else in MailUtils.hasRecipient(MailUtils.java:398) : Address[] addresses = message.getAllRecipients();
Or to change the recipents list to use the standard comma separator before using it.
<sarcastic>Anyway thank you Microsoft to not adhere to standards!</sarcastic>
I can say also, thanks for that Microsoft :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anyone interested in this issue can vote for this request:
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.