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

Instance Methods

AddressesForObj:

- (NSArray *)AddressesForObj:(id)obj

AttachmentsForObj:

- (NSArray *)AttachmentsForObj:(id)obj

GetMails

Get the mails in the local message

- (NSArray *)GetMails

Declared In

AMPMessage.h

GetMailsForSingleRecipient:

- (NSArray *)GetMailsForSingleRecipient:(NSArray *)arr

GetMailsMaps

Get a dictionary with to,cc,bcc as keys and an array of mails for each entry

- (NSDictionary *)GetMailsMaps

Declared In

AMPMessage.h

StringsForObj:

- (NSArray *)StringsForObj:(id)obj

account

The account name

- (AMPAccount *)account

Return Value

The Account Name

Declared In

AMPMessage.h

attachments

The attachments array of AMPAttachment model

- (NSArray *)attachments

Return Value

The attachment array

Declared In

AMPMessage.h

bcc

The message BCC field

- (NSArray *)bcc

Return Value

an array of AMPAddress or AMPGroup

Declared In

AMPMessage.h

cc

The message CC field

- (NSArray *)cc

Return Value

an array of AMPAddress or AMPGroup

Declared In

AMPMessage.h

composerInfo

The composer that has generated the message in the case of a send

- (AMPComposerInfo *)composerInfo

Return Value

a the composer info

Declared In

AMPMessage.h

date

The message date

- (NSDate *)date

Return Value

The message date

Declared In

AMPMessage.h

encrypted

The encypted status fo the message

- (NSNumber *)encrypted

Return Value

an encypted based on amp_encryption_type

Declared In

AMPMessage.h

excerpt

The message excerpt

- (NSString *)excerpt

Return Value

the plain text excerpt

Declared In

AMPMessage.h

folderUids

A dictionary,the key is the folder idx, the objec is an AMPUidFlag (uid and flag) for the folder a message can belogn to multiple folders with different uids/flags

- (NSDictionary *)folderUids

Return Value

a dictionary

Declared In

AMPMessage.h

from

The email address of the sender

- (AMPAddress *)from

Return Value

The email address

Declared In

AMPMessage.h

htmlBody

The HMTL body of the message

- (NSString *)htmlBody

Return Value

The string with the HTML

Declared In

AMPMessage.h

idx

Unique identifier of the message in Airmail

- (NSNumber *)idx

Return Value

the Unique identifier

Declared In

AMPMessage.h

inReplyTo

The message in reply to (message id) for a conversation

- (NSArray *)inReplyTo

Return Value

an array of strings

Declared In

AMPMessage.h

localflags

The local flags number

- (NSNumber *)localflags

Return Value

the number of the local flag

Declared In

AMPMessage.h

messageId

the message ID of th RFC Message

- (NSString *)messageId

Return Value

the message ID

Declared In

AMPMessage.h

plainBody

The Plain Text body of the message

- (NSString *)plainBody

Return Value

The string with the Plain text

Declared In

AMPMessage.h

references

The message references (message id) for a conversation

- (NSArray *)references

Return Value

an array of strings

Declared In

AMPMessage.h

replyTo

The message replyTO field

- (NSArray *)replyTo

Return Value

an array of AMPAddress or AMPGroup

Declared In

AMPMessage.h

rfcData

The message rfc

- (NSData *)rfcData

Return Value

the full rfc of the message

Declared In

AMPMessage.h

subject

The subject of the message

- (NSString *)subject

Return Value

the messag subject vlue

Declared In

AMPMessage.h

threadCount

The thread count number

- (NSNumber *)threadCount

Return Value

the number of the thread count

Declared In

AMPMessage.h

to

The message TO field

- (NSArray *)to

Return Value

an array of AMPAddress or AMPGroup

Declared In

AMPMessage.h

xPriority

The Xpriority value

- (NSNumber *)xPriority

Return Value

the Xpriority value

Declared In

AMPMessage.h