equal
deleted
inserted
replaced
132 public PrintStream startMessage() throws IOException { |
132 public PrintStream startMessage() throws IOException { |
133 issueCommand("data\r\n", 354); |
133 issueCommand("data\r\n", 354); |
134 try { |
134 try { |
135 message = new SmtpPrintStream(serverOutput, this); |
135 message = new SmtpPrintStream(serverOutput, this); |
136 } catch (UnsupportedEncodingException e) { |
136 } catch (UnsupportedEncodingException e) { |
137 throw new InternalError(encoding+" encoding not found"); |
137 throw new InternalError(encoding+" encoding not found", e); |
138 } |
138 } |
139 return message; |
139 return message; |
140 } |
140 } |
141 |
141 |
142 void closeMessage() throws IOException { |
142 void closeMessage() throws IOException { |