DOES "javax.mail.internet.AddressException: Illegal whitespace in address in string" HAVE A SOLUTION?

I got this error "javax.mail.internet.AddressException: Illegal whitespace in address in string" on my program. I paid for viewing the solution to this error but there is no solution on your web page!
I want to send an email address of the type "John Smith/City/COMP/@COMPUS" through Javamail for Lotus Notes but I can not do it. The error that I mentioned before appears.
What can I do to solve this problem?
Who is Participating?

Yes, the address parser is not perfect, and doesn't completely implement the RFC822 syntax.  Fortunately, addresses such as this rarely occur in practice, so the real impact of this bug is extremely small.  Rewriting the parser to handle these cases introduces significant risk, which is not justified by the impact of this bug.  This will probably never be fixed.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.