Name Description Size Coverage
AddressCollector.sys.mjs Collects a single name and email address into the address book. By default, it saves the address without checking for an existing one. @param {string} email - The email address to collect. @param {string} displayName - The display name associated with the email address. @param {boolean} createCard - Set to true if a card should be created if the email address doesn't exist (ignored if skipCheckExisting is true). @param {boolean} [skipCheckExisting=false] - If this is set then the implementation will skip checking for an existing card, and just create a new card. 3066 -
components.conf 7697 -
MailtoProtocolHandler.sys.mjs Protocol handler for mailto: url. @implements {nsIProtocolHandler} 1207 -
MessageSend.sys.mjs A class to manage sending processes. @implements {nsIMsgSend} @implements {nsIWebProgressListener} 51126 -
MimeEncoder.sys.mjs A class to pick Content-Transfer-Encoding for a MimePart, and encode MimePart body accordingly. 13452 -
MimeMessage.sys.mjs 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. 18659 -
MimeMessageUtils.sys.mjs Collection of helper functions for message sending process. 27221 -
MimePart.sys.mjs 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 11086 -
moz.build 1415 -
nsMsgAttachedFile.cpp 2262 -
nsMsgAttachment.cpp attribute wstring name; 6593 -
nsMsgAttachment.h 1125 -
nsMsgAttachmentData.cpp 2240 -
nsMsgAttachmentData.h 5365 -
nsMsgCompFields.cpp 15935 -
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. 6632 -
nsMsgCompose.cpp 173638 -
nsMsgCompose.h this macro defines QueryInterface, AddRef and Release for this class 8921 -
nsMsgComposeContentHandler.cpp 3873 -
nsMsgComposeContentHandler.h 870 -
nsMsgComposeParams.cpp the following macro actually implement addref, release and query interface for our component. 4408 -
nsMsgComposeParams.h 1094 -
nsMsgComposeProgressParams.cpp attribute wstring subject; 1270 -
nsMsgComposeProgressParams.h 808 -
nsMsgComposeService.cpp 41037 -
nsMsgComposeService.h 2188 -
nsMsgCompUtils.cpp 23513 -
nsMsgCompUtils.h 2454 -
nsMsgCopy.cpp 16301 -
nsMsgCopy.h 3660 -
nsMsgPrompts.cpp 3230 -
nsMsgPrompts.h 1365 -
nsMsgQuote.cpp We don't need to quote the message body but we still need to extract the headers 6055 -
nsMsgQuote.h 1264 -
nsMsgSendLater.cpp 46885 -
nsMsgSendLater.h 4789 -
nsSmtpUrl.cpp start past the '?' 23582 -
nsSmtpUrl.h 4133 -
OutgoingServerService.sys.mjs The service in charge of creating and referencing all known outgoing message servers. @implements {nsIMsgOutgoingServerService} 5376 -
SmtpClient.sys.mjs Set true only when doing a retry. (Also used in SmtpServer) 48610 -
SMTPProtocolHandler.sys.mjs @implements {nsIProtocolHandler} 977 -
SmtpServer.sys.mjs This class represents a single SMTP server. @implements {nsIMsgOutgoingServer} @implements {nsISupportsWeakReference} @implements {nsIObserver} 19898 -