Closed Bug 139571 Opened 23 years ago Closed 13 years ago

OpenComposeWindow should take an xpcom const char * array instead of a single string

Categories

(MailNews Core :: Composition, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: Bienvenu, Unassigned)

Details

OpenComposeWindow should take an xpcom const char * array instead of a single string uri (with multiple uri's separated by commas), so that we don't have to parse the uri's and run into problems when the folder itself has a ',' in the name. This means that nsIMsgComposeParams should probably be extended to support an array of msg uri's. This will also make it easier to fix the bug where we won't set the replied/forwarded status of messages in folders with ',' in the name, because that code also just expects comma delimited folder uri's.
the reason we are using a string is because the compose window can be open from a command line using the same syntax.
Severity: normal → enhancement
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Product: MailNews → Core
I guess that means that commas in the uri's would need to be escaped, or we need a different separator. I'm not sure what the use case is where we pass in multiple uri's separated by a comma (perhaps forward of multiple messages?)
Assignee: ducarroz → nobody
Status: ASSIGNED → NEW
QA Contact: esther → composition
Product: Core → MailNews Core
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.