nsIMsgDBHdr

IID:B5212A60-F93F-11d2-951C-006097222B83
Inherits From:nsISupports

Properties

char* accountKey

char* author

char* ccList

char* Charset

PRTime date

readonly PRUint32 dateInSeconds

PRUint32 flags

readonly nsIMsgFolder folder

readonly PRBool isFlagged

readonly PRBool isRead

nsMsgLabelValue label

PRUint32 lineCount

char* messageId

nsMsgKey messageKey

PRUint32 messageOffset

PRUint32 messageSize

readonly PRUnichar* mime2DecodedAuthor

readonly PRUnichar* mime2DecodedRecipients

readonly PRUnichar* mime2DecodedSubject

readonly PRUint16 numReferences

PRUint32 offlineMessageSize

nsMsgPriorityValue priority

char* recipients

PRUint32 statusOffset

char* subject

nsMsgKey threadId

nsMsgKey threadParent


Methods

PRUint32 AndFlags ( PRUint32 flags ) [noscript] void getAuthorCollationKey ( out octetPtr* key , out PRUint32 len ) AString getProperty ( char* propertyName ) [noscript] void getRecipientsCollationKey ( out octetPtr* key , out PRUint32 len ) char* getStringProperty ( char* propertyName ) ACString getStringReference ( PRInt32 refNum ) [noscript] void getSubjectCollationKey ( out octetPtr* key , out PRUint32 len ) PRUint32 getUint32Property ( char* propertyName ) void markFlagged ( PRBool flagged ) void markHasAttachments ( PRBool hasAttachments ) void markRead ( PRBool read ) PRUint32 OrFlags ( PRUint32 flags ) void setCCListArray ( char* names , char* addresses , PRUint32 numAddresses ) void setPriorityString ( char* priority ) void setProperty ( char* propertyName , AString propertyStr ) void setRecipientsArray ( char* names , char* addresses , PRUint32 numAddresses ) void setReferences ( char* references ) void setStringProperty ( char* propertyName , char* propertyValue ) void setUint32Property ( char* propertyName , PRUint32 propertyVal )

PRUint32 AndFlags ( PRUint32 flags )

Arguments:
flags

void getAuthorCollationKey ( out octetPtr* key , out PRUint32 len )

Arguments:
key
len

AString getProperty ( char* propertyName )

Arguments:
propertyName

void getRecipientsCollationKey ( out octetPtr* key , out PRUint32 len )

Arguments:
key
len

char* getStringProperty ( char* propertyName )

Arguments:
propertyName

ACString getStringReference ( PRInt32 refNum )

Arguments:
refNum

void getSubjectCollationKey ( out octetPtr* key , out PRUint32 len )

Arguments:
key
len

PRUint32 getUint32Property ( char* propertyName )

Arguments:
propertyName

void markFlagged ( PRBool flagged )

Arguments:
flagged

void markHasAttachments ( PRBool hasAttachments )

Arguments:
hasAttachments

void markRead ( PRBool read )

Arguments:
read

PRUint32 OrFlags ( PRUint32 flags )

Arguments:
flags

void setCCListArray ( char* names , char* addresses , PRUint32 numAddresses )

Arguments:
names
addresses
numAddresses

void setPriorityString ( char* priority )

Arguments:
priority

void setProperty ( char* propertyName , AString propertyStr )

Arguments:
propertyName
propertyStr

void setRecipientsArray ( char* names , char* addresses , PRUint32 numAddresses )

Arguments:
names
addresses
numAddresses

void setReferences ( char* references )

Arguments:
references

void setStringProperty ( char* propertyName , char* propertyValue )

Arguments:
propertyName
propertyValue

void setUint32Property ( char* propertyName , PRUint32 propertyVal )

Arguments:
propertyName
propertyVal

References

This interface is the type of the following properties:

nsIMsgComposeParams.origMsgHdr, nsIMsgDBView.hdrForFirstSelectedMessage, nsIMsgFolder.firstNewMessage, nsIMsgMessageUrl.messageHeader

This interface is passed as an argument to the following methods:

nsICopyMessageListener.beginCopy, nsIDBChangeAnnouncer.NotifyHdrAddedAll, nsIDBChangeAnnouncer.NotifyHdrChangeAll, nsIDBChangeAnnouncer.NotifyHdrDeletedAll, nsIDBChangeListener.onHdrAdded, nsIDBChangeListener.onHdrChange, nsIDBChangeListener.onHdrDeleted, nsIFolderListener.OnItemPropertyFlagChanged, nsIMailboxUrl.getMoveCopyMsgHdrForIndex, nsIMsgComposeService.forwardMessage, nsIMsgComposeService.replyWithTemplate, nsIMsgCopyService.CopyFileMessage, nsIMsgDatabase.AddNewHdrToDB, nsIMsgDatabase.CopyHdrFromExistingHdr, nsIMsgDatabase.DeleteHeader, nsIMsgDatabase.GetThreadContainingMsgHdr, nsIMsgDatabase.MarkHdrMarked, nsIMsgDatabase.MarkHdrRead, nsIMsgDatabase.MarkHdrReplied, nsIMsgDatabase.RemoveHeaderMdbRow, nsIMsgDatabase.UndoDelete, nsIMsgDatabase.setAttributesOnPendingHdr, nsIMsgFilter.MatchHdr, nsIMsgFilter.logRuleHit, nsIMsgFilterList.applyFiltersToHdr, nsIMsgFolder.NotifyPropertyFlagChanged, nsIMsgFolder.addMessageDispositionState, nsIMsgFolder.copyFileMessage, nsIMsgFolder.getUriForMsg, nsIMsgHeaderSink.onMsgHasRemoteContent, nsIMsgIncomingServer.isNewHdrDuplicate, nsIMsgLocalMailFolder.deleteDownloadMsg, nsIMsgLocalMailFolder.getUidlFromFolder, nsIMsgSearchAdapter.AddResultElement, nsIMsgSearchNotify.onSearchHit, nsIMsgSearchSession.MatchHdr, nsIMsgSearchSession.addSearchHit, nsIMsgSearchTerm.matchArbitraryHeader, nsIMsgSearchTerm.matchBody, nsIMsgSend.createAndSendMessage, nsIMsgSend.sendMessageFile, nsIMsgThread.AddChild, nsIMsgThread.RemoveChildHdr, nsISpamSettings.logJunkHit

This interface is returned from the following methods:

nsIMessenger.msgHdrFromURI, nsIMsgDatabase.CopyHdrFromExistingHdr, nsIMsgDatabase.CreateNewHdr, nsIMsgDatabase.GetMsgHdrForKey, nsIMsgDatabase.getMsgHdrForMessageID, nsIMsgFolder.GetMessageHeader, nsIMsgHeaderSink.getDummyMsgHeader, nsIMsgMessageService.messageURIToMsgHdr, nsIMsgParseMailMsgState.GetNewMsgHdr, nsIMsgThread.GetChild, nsIMsgThread.GetChildAt, nsIMsgThread.GetChildHdrAt, nsIMsgThread.GetFirstUnreadChild, nsIMsgThread.GetRootHdr

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com