mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-12 14:08:38 -05:00
SMTP: Improve message on MAIL FROM without authentication
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1403 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
f9427feaf5
commit
85d730310f
@ -123,6 +123,8 @@ public class SmtpConnection extends AbstractConnection {
|
||||
state = State.STARTMAIL;
|
||||
recipients.clear();
|
||||
sendClient("250 Sender OK");
|
||||
} else if (state == State.INITIAL) {
|
||||
sendClient("503 Authentication required");
|
||||
} else {
|
||||
state = State.INITIAL;
|
||||
sendClient("503 Bad sequence of commands");
|
||||
|
Loading…
Reference in New Issue
Block a user