mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-26 00:43:22 +00:00
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:
@@ -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];
|
||||
|
||||
@@ -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]];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user