Inherits from AMPObject : NSObject
Declared in AMPMCOMessageHeader.h
AMPMCOMessageHeader.m

Properties

generatedMessageID

@property BOOL generatedMessageID

Instance Methods

addHeaderValue:forName:

Adds a custom header.

- (void)addHeaderValue:(NSString *)value forName:(NSString *)name

Declared In

AMPMCOMessageHeader.h

allHeadersNames

Returns an array with the names of all custom headers.

- (NSArray *)allHeadersNames

Declared In

AMPMCOMessageHeader.h

bcc

Bcc field: bcc recipient of the message. It’s an array of MCOAddress.

- (NSArray *)bcc

Declared In

AMPMCOMessageHeader.h

cc

Cc field: cc recipient of the message. It’s an array of MCOAddress.

- (NSArray *)cc

Declared In

AMPMCOMessageHeader.h

date

Date field: sent date of the message.

- (NSDate *)date

Declared In

AMPMCOMessageHeader.h

extractedSubject

Extracted subject (also remove square brackets).

- (NSString *)extractedSubject

Declared In

AMPMCOMessageHeader.h

forwardHeader

Returns a header that can be used as a base for a forward message.

- (AMPMCOMessageHeader *)forwardHeader

Declared In

AMPMCOMessageHeader.h

from

From field: address of the sender of the message.

- (AMPMCOAddress *)from

Declared In

AMPMCOMessageHeader.h

headerValueForName:

Returns the value of a given custom header.

- (NSString *)headerValueForName:(NSString *)name

Declared In

AMPMCOMessageHeader.h

importHeadersData:

Fill the header using the given RFC 822 data.

- (void)importHeadersData:(NSData *)data

Declared In

AMPMCOMessageHeader.h

inReplyTo

In-Reply-To field. It’s an array of message-ids.

- (NSArray *)inReplyTo

Declared In

AMPMCOMessageHeader.h

messageID

Message-ID field.

- (NSString *)messageID

Declared In

AMPMCOMessageHeader.h

partialExtractedSubject

Extracted subject (don’t remove square brackets).

- (NSString *)partialExtractedSubject

Declared In

AMPMCOMessageHeader.h

receivedDate

Received date: received date of the message.

- (NSDate *)receivedDate

Declared In

AMPMCOMessageHeader.h

references

References field. It’s an array of message-ids.

- (NSArray *)references

Declared In

AMPMCOMessageHeader.h

removeHeaderForName:

Remove a given custom header.

- (void)removeHeaderForName:(NSString *)name

Declared In

AMPMCOMessageHeader.h

replyAllHeaderWithExcludedRecipients:

Returns a header that can be used as a base for a reply all message.

- (AMPMCOMessageHeader *)replyAllHeaderWithExcludedRecipients:(NSArray *)excludedRecipients

Declared In

AMPMCOMessageHeader.h

replyHeaderWithExcludedRecipients:

Returns a header that can be used as a base for a reply message.

- (AMPMCOMessageHeader *)replyHeaderWithExcludedRecipients:(NSArray *)excludedRecipients

Declared In

AMPMCOMessageHeader.h

replyTo

Reply-To field. It’s an array of MCOAddress.

- (NSArray *)replyTo

Declared In

AMPMCOMessageHeader.h

sender

Sender field.

- (AMPMCOAddress *)sender

Declared In

AMPMCOMessageHeader.h

subject

Subject of the message.

- (NSString *)subject

Declared In

AMPMCOMessageHeader.h

to

To field: recipient of the message. It’s an array of MCOAddress.

- (NSArray *)to

Declared In

AMPMCOMessageHeader.h

userAgent

User-Agent.

- (NSString *)userAgent

Declared In

AMPMCOMessageHeader.h