aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/rfc822/MCOMessageBuilder.h
blob: 8b36da8a61eb6ae9a2f3883652dbdcb304affbfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
//  MCOMessageBuilder.h
//  mailcore2
//
//  Created by DINH Viêt Hoà on 3/22/13.
//  Copyright (c) 2013 MailCore. All rights reserved.
//

#ifndef __MAILCORE_MCOMESSAGEBUILDER_H_

#define __MAILCORE_MCOMESSAGEBUILDER_H_

#import <mailcore/MCOAbstractMessage.h>

@class MCOAttachment;

@interface MCOMessageBuilder : MCOAbstractMessage

@property (nonatomic, copy, setter=setHTMLBody:) NSString * htmlBody;
@property (nonatomic, copy) NSString * textBody;
@property (nonatomic, copy) NSArray * attachments;
@property (nonatomic, copy) NSArray * relatedAttachments;
@property (nonatomic, copy) NSString * boundaryPrefix;

- (void) addAttachment:(MCOAttachment *)attachment;
- (void) addRelatedAttachment:(MCOAttachment *)attachment;

- (NSData *) data;

@end

#endif