*/
public void readDotTerminatedContent(BufferedReader in)
throws IOException {
_content = _workspace.getTmpFile();
Writer data = _content.getWriter();
PrintWriter dataWriter = new InternetPrintWriter(data);
while (true) {
String line = in.readLine();
if (line == null)
throw new EOFException("Did not receive <CRLF>.<CRLF>");
if (".".equals(line)) {
dataWriter.close();
break;
} else {
dataWriter.println(line);
}
}
try {
message = GreenMailUtil.instance().newMimeMessage(_content.getAsString());
} catch (Exception e) {