Issue a two line POP3 command and return the response Refer to #simpleCommand(String) for a single line command @param firstCommand first command we want to pass to server e.g AUTH XOAUTH2 @param secondCommand second command e.g Base64 encoded authorization string @return Response @throws I
(String firstCommand, String secondCommand)
| 1173 | * @throws IOException |
| 1174 | */ |
| 1175 | private Response twoLinesCommand(String firstCommand, String secondCommand) throws IOException { |
| 1176 | String cmd = firstCommand + " " + secondCommand; |
| 1177 | |
| 1178 | batchCommandStart(cmd); |
| 1179 | simpleCommand(firstCommand); |
| 1180 | batchCommandContinue(cmd); |
| 1181 | |
| 1182 | Response r = simpleCommand(secondCommand); |
| 1183 | |
| 1184 | batchCommandEnd(); |
| 1185 | |
| 1186 | return r; |
| 1187 | } |
| 1188 | |
| 1189 | /** |
| 1190 | * Send the specified command. |
no test coverage detected