#import <NGObjWeb/SoHTTPAuthenticator.h>
#import <NGObjWeb/WORequest.h>
#import <NGObjWeb/WOContext+SoObjects.h>
-#import <NGExtensions/NSObject+Logs.h>
#import <NGExtensions/NSNull+misc.h>
+#import <NGExtensions/NSObject+Logs.h>
+#import <NGExtensions/NSString+misc.h>
#import <NGImap4/NGImap4Connection.h>
#import <NGImap4/NGImap4Client.h>
#import <NGImap4/NGImap4Context.h>
- (NSString *) urlHostString
{
NSDictionary *mailAccount;
- NSString *username, *escUsername, hostString;
+ NSString *username, *escUsername, *hostString;
mailAccount = [[context activeUser] accountWithName: nameInContainer];
if (mailAccount)
- (NSTimeZone *) serverTimeZone;
- (NSArray *) mailAccounts;
-- (NSDictinary *) accountWithName: (NSString *) accountName;
+- (NSDictionary *) accountWithName: (NSString *) accountName;
- (NSArray *) allIdentities;
- (NSDictionary *) primaryIdentity;
- (NSMutableDictionary *) defaultIdentity;
return mailAccounts;
}
-- (NSDictinary *) accountWithName: (NSString *) accountName
+- (NSDictionary *) accountWithName: (NSString *) accountName;
{
NSEnumerator *accounts;
NSDictionary *mailAccount, *currentAccount;
while (!mailAccount
&& ((currentAccount = [accounts nextObject])))
if ([[currentAccount objectForKey: @"name"]
- isEqualToString: nameInContainer])
+ isEqualToString: accountName])
mailAccount = currentAccount;
return mailAccount;