You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PROBABLE CAUSE
Scanner reading data line by line with"\r\n" pattern. It leaves an "\t" which then prevent com.dumbster.smtp.SmtpMessage.java.store() to append header value.
Thanks,
Hope this post will at least make people save some time 😄
The text was updated successfully, but these errors were encountered:
Hi,
I found at that
javax.mail.internet
, is splittingInternetAddress
lists longer than 76 characters with character "\r\n\t". See line 503 of https://github.com/javaee/javamail/blob/master/mail/src/main/java/javax/mail/internet/InternetAddress.javaI guess it's standart. However, it seems that dumbster doesn't handle it yet.
STEP TO REPRODUCE :
Send an email with Header
"To"
value set to"[email protected], [email protected], \r\n\[email protected]"
BEHAVIOUR
email.getHeaderValue("To");
equals"[email protected], [email protected],"
EXPECTED BEHAVIOUR
email.getHeaderValue("To");
equals"[email protected], [email protected], [email protected]"
PROBABLE CAUSE
Scanner reading data line by line with"\r\n" pattern. It leaves an "\t" which then prevent com.dumbster.smtp.SmtpMessage.java.store() to append header value.
Thanks,
Hope this post will at least make people save some time 😄
The text was updated successfully, but these errors were encountered: