//
//  CSWebMailClient.h
//  CSMail
//
//  Created by Chris Suter on 7/02/11.
//  Copyright 2011 Coriolis Systems Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CSMailClient.h"

@interface CSWebMailClient : CSMailClient

- (BOOL)shouldUseClientToDeliverTo:(NSString *)emailAddress;

@end

@interface CSWebMailClient (MailClient)

+ (CSWebMailClient *)mailClient;

@end

extern NSString * const CSWebMailErrorDomain /* = @"CSWebMailErrorDomain" */;

enum {
  CSWebMailGotNonHTTPResponse = 1,
  CSWebMailGotFailedHTTPStatus = 2
};
