Name Description Size
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 7834
MailtoProtocolHandler.sys.mjs Protocol handler for mailto: url. @implements {nsIProtocolHandler} 1207
MessageSend.sys.mjs A class to manage sending processes. @implements {nsIMsgSend} @implements {nsIWebProgressListener} 48051
MimeEncoder.sys.mjs A class to pick Content-Transfer-Encoding for a MimePart, and encode MimePart body accordingly. 13547
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. 18516
MimeMessageUtils.sys.mjs Collection of helper functions for message sending process. 26703
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 1442
nsMsgAttachedFile.cpp 2262
nsMsgAttachment.cpp attribute wstring name; 6593
nsMsgAttachment.h 1125
nsMsgAttachmentData.cpp 2240
nsMsgAttachmentData.h 5365
nsMsgCompFields.cpp 15934
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 178993
nsMsgCompose.h this macro defines QueryInterface, AddRef and Release for this class 8960
nsMsgComposeContentHandler.cpp 588595FE-1ADA-11d3-A715-0060B0EB39B5 4203
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 50505
nsMsgComposeService.h 2261
nsMsgCompUtils.cpp 25100
nsMsgCompUtils.h 2609
nsMsgCopy.cpp 16461
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 6091
nsMsgQuote.h 1264
nsMsgSendLater.cpp 46805
nsMsgSendLater.h 4789
nsMsgSendReport.cpp attribute boolean proceeded; 11874
nsMsgSendReport.h 1148
nsSmtpUrl.cpp start past the '?' 23395
nsSmtpUrl.h 4133
OutgoingServerService.sys.mjs The service in charge of creating and referencing all known outgoing message servers. @implements {nsIMsgOutgoingServerService} 5396
SmtpClient.sys.mjs The number of RCPT TO commands sent on the connection by this client. This can count-up over multiple messages. Per RFC, the minimum total number of recipients that MUST be buffered is 100 recipients. @see https://datatracker.ietf.org/doc/html/rfc5321#section-4.5.3.1.8 When 100 or more recipients have been counted on a connection, a new connection will be established to handle the additional recipients. 46028
SMTPProtocolHandler.sys.mjs @implements {nsIProtocolHandler} 977
SmtpServer.sys.mjs This class represents a single SMTP server. @implements {nsIMsgOutgoingServer} @implements {nsISupportsWeakReference} @implements {nsIObserver} 19601