Name Description Size
components.conf 7655
MailtoProtocolHandler.jsm Protocol handler for mailto: url. @implements {nsIProtocolHandler} 1247
MessageSend.jsm A module to manage sending processes. @implements {nsIMsgSend} 44019
MimeEncoder.jsm A class to pick Content-Transfer-Encoding for a MimePart, and encode MimePart body accordingly. 13556
MimeMessage.jsm A class to create a top MimePart and write to a tmp file. It works like this: 1. collect top level MIME headers (_gatherMimeHeaders) 2. collect HTML/plain main body as MimePart[] (_gatherMainParts) 3. collect attachments as MimePart[] (_gatherAttachmentParts) 4. construct a top MimePart with above headers and MimePart[] (_initMimePart) 5. write the top MimePart to a tmp file (createMessageFile) NOTE: It's possible we will want to replace nsIMsgSend with the interfaces of MimeMessage. As a part of it, we will add a `send` method to this class. 17454
MimeMessageUtils.jsm Generate an NS_ERROR code from a MAILNEWS error code. See NS_ERROR_GENERATE in nsError.h and NS_MSG_GENERATE_FAILURE in nsComposeStrings.h. @param {number} code - The error code in MAILNEWS module. @returns {number} 34073
MimePart.jsm A class to represent a RFC2045 message. MimePart can be nested, each MimePart can contain a list of MimePart. HTML and plain text are parts as well. Use class MimeMultiPart for multipart/*, that's why this class doesn't expose an addPart method 11037 1390
nsComposeStrings.cpp 3997
nsComposeStrings.h String Ids used by mailnews\compose To Do: Convert the callers to use names instead of ids and then make this file obsolete. 4275
nsMsgAttachedFile.cpp 4562
nsMsgAttachedFile.h _nsMsgAttachedFile_H_ 462
nsMsgAttachment.cpp attribute wstring name; 7025
nsMsgAttachment.h _nsMsgAttachment_H_ 1051
nsMsgAttachmentData.cpp 2728
nsMsgAttachmentData.h 5980
nsMsgCompFields.cpp 16520
nsMsgCompFields.h Note that all the "Get" methods never return NULL (except in case of serious error, like an illegal parameter); rather, they return "" if things were set to NULL. This makes it real handy for the callers. 6721
nsMsgCompose.cpp 177046
nsMsgCompose.h this macro defines QueryInterface, AddRef and Release for this class 9052
nsMsgComposeContentHandler.cpp 588595FE-1ADA-11d3-A715-0060B0EB39B5 4185
nsMsgComposeContentHandler.h 673
nsMsgComposeParams.cpp the following macro actually implement addref, release and query interface for our component. 4408
nsMsgComposeParams.h 921
nsMsgComposeProgressParams.cpp attribute wstring subject; 1305
nsMsgComposeProgressParams.h 611
nsMsgComposeService.cpp 51755
nsMsgComposeService.h 2405
nsMsgCompUtils.cpp If we are conforming to mime standard no matter what we set for the headers preference when generating mime headers we should also conform to the standard. Otherwise, depends the preference we set. For now, the headers preference is not accessible from UI. 38008
nsMsgCompUtils.h subject 3530
nsMsgCopy.cpp 16316
nsMsgCopy.h _nsMsgCopy_H_ 3612
nsMsgPrompts.cpp 3305
nsMsgPrompts.h _nsMsgPrompts_H_ 1292
nsMsgQuote.cpp We don't need to quote the message body but we still need to extract the headers 6290
nsMsgQuote.h __nsMsgQuote_h__ 1261
nsMsgSendLater.cpp 45853
nsMsgSendLater.h _nsMsgSendLater_H_ 4695
nsMsgSendReport.cpp attribute boolean proceeded; 12185
nsMsgSendReport.h 1053
nsSmtpUrl.cpp start past the '?' 22985
nsSmtpUrl.h 4331
SmtpClient.jsm Creates a connection object to a SMTP server and allows to send mail through it. Call `connect` method to inititate the actual connection, the constructor only defines the properties but does not actually connect. @class @param {nsISmtpServer} server - The associated nsISmtpServer instance. 41932
SMTPProtocolHandler.jsm @implements {nsIProtocolHandler} 1065
SmtpServer.jsm This class represents a single SMTP server. @implements {nsISmtpServer} 12035
SmtpService.jsm The SMTP service. @implements {nsISmtpService} 9009