Ben Bucksch wrote:

> Check out "The way to a message" at 
> <http://www.bucksch.com/1/projects/mozilla/12306/>. It's crusty, but 
> might help. IIRC, the recipient is inserted in C++ code and the JS code 
> just passes a mode (for Reply All or Reply Sender Only etc.). I think, 
> it would be a good idea to change it so that the JS code collects the 
> new recipients, but you'd have to touch some C++ code, of course, but 
> the larger part would be in JS. In any case, it wouldn't be trivial. 
> Nevertheless, feel free to try yourself.
> 
> 

As far as I can gather from my reading of source code, we need to pass 
an email into the c++ code that creates the compose window (openWindow?)
can I use OpenComposeWindowWithCompFields perhaps?
The alternative I can think of off hand would be to add a ComposeType 
ReplyToEmail (or something) and finding a way to pass the email to the 
relevant function...

If somebody can/will help me with that part, it'd be great, because I 
don't think I'll figure this out any time real soon. But I will try to.

A small question about code policy...
Is it ok for my js function ReplyToNode to directly call 
msgComposeService.OpenComposeWindow, or should that be handled by some 
other js function (which I can't remember the name of at the moment)?

   Morten

:wq


Reply via email to