nsIMsgAccount
An account consists of an incoming server and one or more outgoing identities.
Inherits from:
nsISupports
Last changed in Gecko 1.7 Method overview
void addIdentity(in nsIMsgIdentity identity); |
void clearAllValues(); |
void init(); |
void removeIdentity(in nsIMsgIdentity identity); |
AString toString(); |
Attributes
Attribute | Type | Description |
defaultIdentity |
| |
identities |
| Read only. Outgoing identity list (array of nsIMsgIdentity's) |
incomingServer |
| Incoming server stuff |
key | ACString | Internal key identifying itself |
Methods
addIdentity()
Adds a new identity to this account.
void addIdentity( in nsIMsgIdentity identity );
Parameters
identity
- The identity to add.
clearAllValues()
Clear all user preferences associated with an account.
void clearAllValues();
Parameters
None.
init()
Initializes an account.
void init();
Parameters
None.
Exceptions thrown
NS_ERROR_ALREADY_OPENED
-
if it is called more then once
removeIdentity()
Removes an identity from this account.
void removeIdentity( in nsIMsgIdentity identity );
Parameters
identity
- The identity to remove.