WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIMsgRetentionSettings

IID:063bd2ac-de85-11d4-a5b6-0060b0fc04b7
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

PRUint32 nsMsgRetainAll = 1
PRUint32 nsMsgRetainByAge = 2
PRUint32 nsMsgRetainByNumHeaders = 3

Properties

PRBool cleanupBodiesByDays

PRUint32 daysToKeepBodies

PRUint32 daysToKeepHdrs

PRBool keepUnreadMessagesOnly

PRUint32 numHeadersToKeep

nsMsgRetainByPreference retainByPreference

PRBool useServerDefaults


References

This interface is the type of the following properties:

nsIMsgDatabase.msgRetentionSettings, nsIMsgFolder.retentionSettings, nsIMsgIncomingServer.retentionSettings

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

nsIMsgDatabase.applyRetentionSettings

Reference documentation is generated from Mozilla's source.