MCOAttachment Class Reference
Inherits from | MCOAbstractPart : NSObject |
Declared in | MCOAttachment.h MCOAttachment.mm |
Overview
This is a single part.
It can either parsed from RFC 822 message data or created to build a message.
Class Methods
attachmentWithContentsOfFile:
Returns a file attachment with the content of the given file.
+ (MCOAttachment *)attachmentWithContentsOfFile:(NSString *)filename
Declared In
MCOAttachment.h
attachmentWithData:filename:
Returns a file attachment with the given data and filename.
+ (MCOAttachment *)attachmentWithData:(NSData *)data filename:(NSString *)filename
Declared In
MCOAttachment.h
attachmentWithHTMLString:
Returns a part with an HTML content.
+ (MCOAttachment *)attachmentWithHTMLString:(NSString *)htmlString
Declared In
MCOAttachment.h
attachmentWithRFC822Message:
Returns a part with a RFC 822 messsage attachment.
+ (MCOAttachment *)attachmentWithRFC822Message:(NSData *)messageData
Declared In
MCOAttachment.h