A Good Coder
Wednesday, April 21, 2010
java email cut off
deleting all non-ascii and control char will fix the problem - this assume you expect English only input.
String truncated = mailBody.replaceAll("[^\\p{ASCII}]", "").replaceAll("\\p{Cntrl}", "");
Newer Posts
Home
Subscribe to:
Posts (Atom)
Followers