Open Bug 408511 Opened 18 years ago Updated 3 years ago

No way to get complete text/source for quoting a message

Categories

(MailNews Core :: Composition, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: jminta, Unassigned)

Details

(Whiteboard: [jm-st])

Many extensions provide alternative ways of replying to messages. These replies often include quotations of the original message. However, these quotations have to be hand-rolled because there is no way to get the complete text/source to do a proper quotation. At first, nsIMsgQuote looks like precisely the solution to this problem. However, nsMsgCompose's own implementation of nsIMsgQuotingOutputStreamListener makes several modifications to the returned data. These modifications would need to be re-done in any other implementation in order to achieve the same result. The modifications include: (1) Inserting the "$s wrote:" (or other appropriate header) text above the quotation. (2) Possible conversion to plain-text (3) The modifications made by an editor's InsertAsCitedQuotation/InsertAsQuotation methods It would be great if, instead, there were a way to get exactly the text/source that will be the end result of nsMsgCompose's own attempts to quote a message, so that extensions can remain consistent.
Whiteboard: [jm-st]
Product: Core → MailNews Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.