nsIMsgSendLater 编辑
The nsIMsgSendLater
interface provides functions for managing the unsent folder of a messaging account.
Inherits from: nsIStreamListener
Implemented by: @mozilla.org/messengercompose/sendlater;1
. To create an instance, use
var msgSendlater = Components.classes["@mozilla.org/messengercompose/sendlater;1"] .getService(Components.interfaces.nsIMsgSendLater);
Method overview
void SendUnsentMessages(in nsIMsgIdentity identity); |
void RemoveListener(in nsIMsgSendLaterListener listener); |
void AddListener(in nsIMsgSendLaterListener listener); |
nsIMsgFolder getUnsentMessagesFolder](in nsIMsgIdentity identity); |
Attributes
Attribute | Type | Description |
msgWindow | nsIMsgWindow |
Methods
SendUnsentMessages()
Sends all unsent messages for an identity.
void SendUnsentMessages(in nsIMsgIdentity identity)
Parameters
identity
The
nsIMsgIdentity
to send unsent messages for
RemoveListener()
Remove an event listener from this nsISendMsgLater
instance
void RemoveListener(in nsIMsgSendLaterListener listener);
Parameters
listener
The nsIMsgSendLaterListener to remove.
AddListener()
Add an event listener to this nsISendMsgLater
instance.
void AddListener(in nsIMsgSendlaterListener listener);
Parameters
listener
The
nsIMsgSendLaterListener
to add.
getUnsentMessagesFolder()
Get the unsent messages folder for an identity.
nsIMsgFolder getUnsentMessagesFolder(in nsIMsgIdentity identity);
Parameters
identity
The nsIMsgIdentity to get the folder for.
Return Value
The nsIMsgFolder containing unsent messages.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论