AMPMCOAttachment Class Reference
Inherits from | AMPMCOAbstractPart : AMPObject : NSObject |
Declared in | AMPMCOAttachment.h AMPMCOAttachment.m |
Class Methods
attachmentWithContentsOfFile:
Returns a file attachment with the content of the given file.
+ (AMPMCOAttachment *)attachmentWithContentsOfFile:(NSString *)filename
Declared In
AMPMCOAttachment.h
attachmentWithData:filename:
Returns a file attachment with the given data and filename.
+ (AMPMCOAttachment *)attachmentWithData:(NSData *)data filename:(NSString *)filename
Declared In
AMPMCOAttachment.h
attachmentWithHTMLString:
Returns a part with an HTML content.
+ (AMPMCOAttachment *)attachmentWithHTMLString:(NSString *)htmlString
Declared In
AMPMCOAttachment.h
attachmentWithRFC822Message:
Returns a part with a RFC 822 messsage attachment.
+ (AMPMCOAttachment *)attachmentWithRFC822Message:(NSData *)messageData
Declared In
AMPMCOAttachment.h
attachmentWithText:
Returns a part with an plain text content.
+ (AMPMCOAttachment *)attachmentWithText:(NSString *)text
Declared In
AMPMCOAttachment.h