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
Seems that it's not parsed by java-libpst. You may try getting it from the SMTP
headers:
/* code begins */
private String extractHeaderValue(String header, String headers) {
Pattern p = Pattern.compile("\\n" + header + ": ([^\\n\\r]*)");
Matcher m = p.matcher(headers);
if (m.find()) {
return m.group(1);
}
return null;
}
PSTMessage message = ...
// Find Thread-Index in SMTP headers, may be null if not set.
String smtpHeaders = message.getTransportMessageHeaders();
String threadIndex = extractHeaderValue("Thread-Index", smtpHeaders);
/* code ends */
Original issue reported on code.google.com by
[email protected]
on 14 Oct 2011 at 6:30The text was updated successfully, but these errors were encountered: