diff options
Diffstat (limited to 'mailnews')
-rw-r--r-- | mailnews/imap/src/nsImapProtocol.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mailnews/imap/src/nsImapProtocol.cpp b/mailnews/imap/src/nsImapProtocol.cpp index dee4ff169..1d0c98d48 100644 --- a/mailnews/imap/src/nsImapProtocol.cpp +++ b/mailnews/imap/src/nsImapProtocol.cpp @@ -6160,7 +6160,11 @@ void nsImapProtocol::UploadMessageFromFile (nsIFile* file, if (NS_FAILED(rv)) goto done; if (!useLiteralPlus) - ParseIMAPandCheckForNewMail(); + { + ParseIMAPandCheckForNewMail(); + if (!GetServerStateParser().LastCommandSuccessful()) + goto done; + } totalSize = fileSize; readCount = 0; |