I have worked over your requirements and like to share that if you add “.,” together then exception is thrown. You may please make necessary correction to use any one of character in header.
An issue with ID EMAILJAVA-34519 has also been added as improvement in our issue tracking system to consider improving the error message on our end as per suggestion.
Thanks for the reply. Having both “.,” together is a possible combination in sender name in our project, so it would be very nice if you could fix that.
Looks like the exception is thrown when recipient has trailing dot (".").
And when we pass “.,” it just splits it into 2 recipients with one having trailing dot.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.