Inherits from AMPMCOAbstractMessage : AMPObject : NSObject
Declared in AMPMCOMessageParser.h
AMPMCOMessageParser.m

Class Methods

messageParserWithData:

returns a parsed message from the given RFC 822 data.

+ (AMPMCOMessageParser *)messageParserWithData:(NSData *)data

Declared In

AMPMCOMessageParser.h

Instance Methods

data

data of the RFC 822 formatted message. It’s the input of the parser.

- (NSData *)data

Declared In

AMPMCOMessageParser.h

htmlBodyRendering

HTML rendering of the body of the message to be displayed in a web view.

- (NSString *)htmlBodyRendering

Declared In

AMPMCOMessageParser.h

mainPart

It’s the main part of the message. It can be MCOMessagePart, MCOMultipart or MCOAttachment.

- (AMPMCOAbstractPart *)mainPart

Declared In

AMPMCOMessageParser.h

plainBody

- (NSString *)plainBody

plainTextBodyRendering

Text rendering of the body of the message. All end of line will be removed and white spaces cleaned up. This method can be used to generate the summary of the message.

- (NSString *)plainTextBodyRendering

Declared In

AMPMCOMessageParser.h

plainTextRendering

Text rendering of the message.

- (NSString *)plainTextRendering

Declared In

AMPMCOMessageParser.h