nsIMsgAccount 编辑
nsIMsgAccount
mailnews/base/public/nsIMsgAccount.idl
Scriptable An account consists of an incoming server and one or more outgoing identities. Inherits from: nsISupports
Last changed in Gecko 1.7Method 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论