Commit 950c82d0 authored by Mickaël Guessant's avatar Mickaël Guessant

SMTP: append a line feed to avoid thunderbird message drop

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2440 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 0e79367f
......@@ -204,7 +204,8 @@ public class SmtpConnection extends AbstractConnection {
} catch (Exception e) {
DavGatewayTray.log(e);
try {
sendClient("500 " + ((e.getMessage() == null) ? e : e.getMessage()));
// append a line feed to avoid thunderbird message drop
sendClient("421 " + ((e.getMessage() == null) ? e : e.getMessage())+"\n");
} catch (IOException e2) {
DavGatewayTray.debug(new BundleMessage("LOG_EXCEPTION_SENDING_ERROR_TO_CLIENT"), e2);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment