aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/rfc822/MCOMessageBuilder.h
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-04-04 23:23:50 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-04-04 23:23:50 -0700
commitd036437a499feafdd79994fcaa38d03b50929fe0 (patch)
treee000395d2eff5532184d8e73c49daa473cf73ecc /src/objc/rfc822/MCOMessageBuilder.h
parent6eba7f202753d79f2de6b8a8c87864e93394343c (diff)
Header documentation. Header clean-up
Diffstat (limited to 'src/objc/rfc822/MCOMessageBuilder.h')
-rw-r--r--src/objc/rfc822/MCOMessageBuilder.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/objc/rfc822/MCOMessageBuilder.h b/src/objc/rfc822/MCOMessageBuilder.h
index a74b3e6f..576a37a7 100644
--- a/src/objc/rfc822/MCOMessageBuilder.h
+++ b/src/objc/rfc822/MCOMessageBuilder.h
@@ -12,22 +12,38 @@
#import <MailCore/MCOAbstractMessage.h>
+// This class will allow you to build a RFC 822 formatted message.
+
@class MCOAttachment;
@protocol MCOHTMLRendererDelegate;
@interface MCOMessageBuilder : MCOAbstractMessage <NSCopying>
+// Main HTML content of the message.
@property (nonatomic, copy, setter=setHTMLBody:) NSString * htmlBody;
+
+// Plain text content of the message.
@property (nonatomic, copy) NSString * textBody;
+
+// List of file attachments.
@property (nonatomic, copy) NSArray * attachments;
+
+// List of related file attachments (included as cid: link in the HTML part).
@property (nonatomic, copy) NSArray * relatedAttachments;
+
+// Prefix for the boundary identifier
@property (nonatomic, copy) NSString * boundaryPrefix;
+// Add an attachment.
- (void) addAttachment:(MCOAttachment *)attachment;
+
+// Add a related attachment.
- (void) addRelatedAttachment:(MCOAttachment *)attachment;
+// RFC 822 formatted message.
- (NSData *) data;
+// HTML rendering of the message to be displayed in a web view.
- (NSString *) htmlRenderingWithDelegate:(id <MCOHTMLRendererDelegate>)delegate;
@end