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.

nsIMsgCompFields

IID:afe5fedc-7ef9-44dd-8f19-b59286357675
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

char* attachments

Attachments

readonly nsISupportsArray attachmentsArray

PRBool attachVCard

AString bcc

AString body

PRBool bodyIsAsciiOnly

AString cc

char* characterSet

readonly char* defaultCharacterSet

char* draftId

PRBool DSN

AString fcc

AString fcc2

char* followupTo

PRBool forceMsgEncoding

PRBool forcePlainText

AString from

char* messageId

PRBool needToCheckCharset

Indicates 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)

AString newsgroups

char* newshost

char* newspostUrl

AString organization

AString otherRandomHeaders

char* priority

PRInt32 receiptHeaderType

char* references

AString replyTo

PRBool returnReceipt

nsISupports securityInfo

AString subject

AString templateName

char* temporaryFiles

TemporaryFiles

AString to

PRBool useMultipartAlternative

PRBool uuEncodeAttachments


Methods

void addAttachment ( nsIMsgAttachment attachment ) PRBool checkCharsetConversion ( out char* fallbackCharset ) void ConvertBodyToPlainText ( ) void removeAttachment ( nsIMsgAttachment attachment ) void removeAttachments ( ) nsIMsgRecipientArray SplitRecipients ( PRUnichar* recipients , PRBool emailAddressOnly )

void addAttachment ( nsIMsgAttachment attachment )

Arguments:
attachment

PRBool checkCharsetConversion ( out char* fallbackCharset )

Arguments:
fallbackCharset

void ConvertBodyToPlainText ( )


void removeAttachment ( nsIMsgAttachment attachment )

Arguments:
attachment

void removeAttachments ( )


nsIMsgRecipientArray SplitRecipients ( PRUnichar* recipients , PRBool emailAddressOnly )

Arguments:
recipients
emailAddressOnly

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

Reference documentation is generated from Mozilla's source.