See ChangeLog

Monotone-Parent: 0280dffce97a63277bc84ffa183716452b431953
Monotone-Revision: b8c469061302cf2a28202e96504b5ec370eb8211

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-04-09T20:06:32
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-04-09 20:06:32 +00:00
parent 473c8cf0d0
commit 63aedf6047
5 changed files with 28 additions and 28 deletions
-9
View File
@@ -1381,15 +1381,6 @@ static BOOL showTextAttachmentsInline = NO;
if (!error)
{
error = [sentFolder postData: message flags: @"seen"];
if (error)
{
// Sent folder probably doesn't exist -- create it
error = [[self imap4Connection]
createMailbox: [imap4 imap4FolderNameForURL: [sentFolder imap4URL]]
atURL: [[self mailAccountFolder] imap4URL]];
if (!error)
error = [sentFolder postData: message flags: @"seen"];
}
if (!error)
{
[self imap4Connection];
+2 -1
View File
@@ -497,7 +497,8 @@ static NSString *spoolFolder = nil;
// We check for the existence of the IMAP folder (likely to be the
// Sent mailbox) prior to appending messages to it.
if ([[self imap4Connection] doesMailboxExistAtURL: [self imap4URL]] ||
![[self imap4Connection] createMailbox: [self relativeImap4Name] atURL: [[self mailAccountFolder] imap4URL]])
![[self imap4Connection] createMailbox: [[self imap4Connection] imap4FolderNameForURL: [self imap4URL]]
atURL: [[self mailAccountFolder] imap4URL]])
return [[self imap4Connection] postData: _data flags: _flags
toFolderURL: [self imap4URL]];