A.D. Fundum
2014-10-29 22:31:47 UTC
The WPS supports a SM program object with a parameter like
"mailto:"[mailto:]". This will start a SM browser window. And it will
open the "Send mail" window, because the valid URL is
"mailto:<optional_text>. BTW, the []-WPS functionality may have to be
considered as being (excellent and) OS-specific, but this isn't an
implied RFC at all, and any OS may be able to use batch commands with
commands like "seamonkey mailto:".
The combined parameter "-mail mailto:" doesn't work, because it
launches the browser instead of any mail-related window. IOW: all
parameters are ignored, including "-mail" itself. I'm not sure that
the expected result is starting SeaMonkey Mail in send-mail-mode,
because it'll only accept "-mail" without any other random argument
and there's no reason why it should interpret my random "mailto:" CLI
argument as if it's a browser's URL.
But is is possible to start SM as if the user used a HTML
mailto:-link, using the WPS with a parameter like "mailto:[mailto:]",
which doesn't open a browser window?
I guess there's no need to answer if the answer is "no". The most
important goal, opening no mail-related window other than the "Send
mail"-window, with a copy & paste email address, is already achieved,
The overhead of starting (and having to close) the browser window
typically is hardly worth mentioning, so at best it'll be
nice-to-have.
--
"mailto:"[mailto:]". This will start a SM browser window. And it will
open the "Send mail" window, because the valid URL is
"mailto:<optional_text>. BTW, the []-WPS functionality may have to be
considered as being (excellent and) OS-specific, but this isn't an
implied RFC at all, and any OS may be able to use batch commands with
commands like "seamonkey mailto:".
The combined parameter "-mail mailto:" doesn't work, because it
launches the browser instead of any mail-related window. IOW: all
parameters are ignored, including "-mail" itself. I'm not sure that
the expected result is starting SeaMonkey Mail in send-mail-mode,
because it'll only accept "-mail" without any other random argument
and there's no reason why it should interpret my random "mailto:" CLI
argument as if it's a browser's URL.
But is is possible to start SM as if the user used a HTML
mailto:-link, using the WPS with a parameter like "mailto:[mailto:]",
which doesn't open a browser window?
I guess there's no need to answer if the answer is "no". The most
important goal, opening no mail-related window other than the "Send
mail"-window, with a copy & paste email address, is already achieved,
The overhead of starting (and having to close) the browser window
typically is hardly worth mentioning, so at best it'll be
nice-to-have.
--