nsIMsgCompFields 编辑

« XPCOM API Reference

Summary

The nsIMsgCompFields interface provides properties for an composition of an outgoing message.

Properties

AttributeTypeDescription
attachmentschar * obsoleteattachments OBSOLETE, DO NOT USE ANYMORE
attachmentsArraynsISupportsArray readonly 
attachVCardPRBool 
bccAString 
bodyAString 
bodyIsAsciiOnlyPRBool 
ccAString 
characterSetchar * 
defaultCharacterSetchar * readonly 
drafIdchar * 
DSNPRBool 
fccAString 
fcc2AString 
followupTochar * 
forceMsgEncodingPRBool 
forcePlainTextPRBool 
fromAString 
hasRecipientsPRBool readonlyNew in Thunderbird 23 Indicates whether something is filled in in the to, cc, or bcc attribute. (bug 68784)
messageIdchar * 
needToCheckCharsetPRBoolIndicates whether we need to check if the current DocumentCharset can represent all the characters in the message body. It should be initialized to true and set to false when 'Send Anyway' is selected by a user. (bug 249530)
newsgroupsAString 
newshostchar * 
newspostUrlchar * 
organizationAString 
otherRandomHeadersAStringNo longer exists - see https://groups.google.com/forum/
prioritychar * 
receiptHeaderTypePRInt32 
referenceschar * 
replyToAString 
securityInfonsISupports 
subjectAString 
templateNameAString 
temporaryFileschar * obsoleteTemporaryFiles OBSOLETE, DO NOT USE ANYMORE
toAString 
useMultipartAlternativePRBool 
uuEncodeAttachmentsPRBool 

 

Methods

Utility Methods
PRBool checkCharsetConversion ( out char * fallbackCharset );
nsIMsgRecipientArray SplitRecipients ( in PRUnichar * recipients, in PRBool emailAddressOnly );
void ConvertBodyToPlainText ( );
Attachment Handling Methods
void addAttachment ( in nsIMsgAttachment attachment );
void removeAttachment ( in nsIMsgAttachment attachment );
void removeAttachments ( );
Header Methods
void setHeader(char* name, char* value);

References

This interface is the type of the following properties:

nsIMsgCompose.compFields, nsIMsgComposeParams.composeFields

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

nsIMsgComposeSecure.beginCryptoEncapsulation, nsIMsgComposeSecure.requiresCryptoEncapsulation, nsIMsgSend.createAndSendMessage, nsIMsgSend.sendMessageFile, nsISMimeJSHelper.getNoCertAddresses, nsISMimeJSHelper.getRecipientCertsInfo

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:33 次

字数:8772

最后编辑:6 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文