AMPMCOMessageHeader Class Reference
Inherits from | AMPObject : NSObject |
Declared in | AMPMCOMessageHeader.h AMPMCOMessageHeader.m |
Tasks
-
generatedMessageID
property -
– messageID
-
– references
-
– inReplyTo
-
– date
-
– receivedDate
-
– sender
-
– from
-
– to
-
– cc
-
– bcc
-
– replyTo
-
– subject
-
– userAgent
-
– addHeaderValue:forName:
-
– removeHeaderForName:
-
– headerValueForName:
-
– allHeadersNames
-
– extractedSubject
-
– partialExtractedSubject
-
– importHeadersData:
-
– replyHeaderWithExcludedRecipients:
-
– replyAllHeaderWithExcludedRecipients:
-
– forwardHeader
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
cc
Cc field: cc recipient of the message. It’s an array of MCOAddress.
- (NSArray *)cc
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
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