@@ -196,7 +196,7 @@ void POP3ClientSession::retrieveMessage(int id, MailMessage& message)
196196{
197197 std::string response;
198198 sendCommand (" RETR" , NumberFormatter::format (id), response);
199- if (!isPositive (response)) throw POP3Exception (" Cannot get message list " , response);
199+ if (!isPositive (response)) throw POP3Exception (" Cannot retrieve message" , response);
200200 DialogInputStream sis (_socket);
201201 MailInputStream mis (sis);
202202 message.read (mis);
@@ -208,7 +208,7 @@ void POP3ClientSession::retrieveMessage(int id, MailMessage& message, PartHandle
208208{
209209 std::string response;
210210 sendCommand (" RETR" , NumberFormatter::format (id), response);
211- if (!isPositive (response)) throw POP3Exception (" Cannot get message list " , response);
211+ if (!isPositive (response)) throw POP3Exception (" Cannot retrieve message" , response);
212212 DialogInputStream sis (_socket);
213213 MailInputStream mis (sis);
214214 message.read (mis, handler);
@@ -220,7 +220,7 @@ void POP3ClientSession::retrieveMessage(int id, std::ostream& ostr)
220220{
221221 std::string response;
222222 sendCommand (" RETR" , NumberFormatter::format (id), response);
223- if (!isPositive (response)) throw POP3Exception (" Cannot get message list " , response);
223+ if (!isPositive (response)) throw POP3Exception (" Cannot retrieve message" , response);
224224 DialogInputStream sis (_socket);
225225 MailInputStream mis (sis);
226226 StreamCopier::copyStream (mis, ostr);
@@ -231,7 +231,7 @@ void POP3ClientSession::retrieveHeader(int id, MessageHeader& header)
231231{
232232 std::string response;
233233 sendCommand (" TOP" , NumberFormatter::format (id), " 0" , response);
234- if (!isPositive (response)) throw POP3Exception (" Cannot get message list " , response);
234+ if (!isPositive (response)) throw POP3Exception (" Cannot retrieve header " , response);
235235 DialogInputStream sis (_socket);
236236 MailInputStream mis (sis);
237237 header.read (mis);
0 commit comments