Name Description Size
components.conf 6614
MailtoProtocolHandler.jsm Protocol handler for mailto: url. @implements {nsIProtocolHandler} 1574
MessageSend.jsm A module to manage sending processes. @implements {nsIMsgSend} 41321
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. 17116
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} 34088
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 11002 1421
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 178702
nsMsgCompose.h this macro defines QueryInterface, AddRef and Release for this class 9151
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. 4031
nsMsgComposeParams.h 894
nsMsgComposeProgressParams.cpp attribute wstring subject; 1305
nsMsgComposeProgressParams.h 611
nsMsgComposeService.cpp 53277
nsMsgComposeService.h 2502
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. 37118
nsMsgCompUtils.h subject 3530
nsMsgCopy.cpp 16316
nsMsgCopy.h _nsMsgCopy_H_ 3612
nsMsgPrompts.cpp 3396
nsMsgPrompts.h _nsMsgPrompts_H_ 1187
nsMsgQuote.cpp We don't need to quote the message body but we still need to extract the headers 6410
nsMsgQuote.h __nsMsgQuote_h__ 1261
nsMsgSendLater.cpp 45681
nsMsgSendLater.h _nsMsgSendLater_H_ 4695
nsMsgSendReport.cpp attribute boolean proceeded; 12289
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. 41946
SMTPProtocolHandler.jsm 1343
SmtpServer.jsm This class represents a single SMTP server. @implements {nsISmtpServer} 11683
SmtpService.jsm The SMTP service. @implements {nsISmtpService} 8856