1
0
mirror of https://github.com/moparisthebest/davmail synced 2025-01-05 18:58:02 -05:00

From David Ashman : Fix EHLO answer for iphone support

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@117 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2008-01-31 23:41:17 +00:00
parent 52c50d30ed
commit 8c4401810d

View File

@ -47,6 +47,7 @@ public class SmtpConnection extends AbstractConnection {
sendClient("221 Closing connection");
break;
} else if ("EHLO".equals(command)) {
sendClient("250-" + tokens.nextToken());
// inform server that AUTH is supported
// actually it is mandatory (only way to get credentials)
sendClient("250-AUTH LOGIN PLAIN");