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 *)filenameDeclared In
AMPMCOAttachment.hattachmentWithData:filename:
Returns a file attachment with the given data and filename.
+ (AMPMCOAttachment *)attachmentWithData:(NSData *)data filename:(NSString *)filenameDeclared In
AMPMCOAttachment.hattachmentWithHTMLString:
Returns a part with an HTML content.
+ (AMPMCOAttachment *)attachmentWithHTMLString:(NSString *)htmlStringDeclared In
AMPMCOAttachment.hattachmentWithRFC822Message:
Returns a part with a RFC 822 messsage attachment.
+ (AMPMCOAttachment *)attachmentWithRFC822Message:(NSData *)messageDataDeclared In
AMPMCOAttachment.hattachmentWithText:
Returns a part with an plain text content.
+ (AMPMCOAttachment *)attachmentWithText:(NSString *)textDeclared In
AMPMCOAttachment.h