[wellylug] Scripting mozilla to open a blank message with attachments

Matt matt-lists at comnet.net.nz
Wed Oct 13 19:31:51 NZDT 2004


On Wednesday 13 October 2004 10:53, jumbophut wrote:
> Hi all
>
> A question for you:
>
> I would like to have a bash script which opens a blank mail message
> in Mozilla, but with a list of attachments I specify.
>
> 'mozilla -remote' will open a blank message, but appears not powerful
> enough to do the attachments.  XPCOM could almost certainly to do it,
> but then I have to go through the whole "create XUL, create js,
> register component" malarky.
>
> Any ideas?  (And it would be even better if the same hack worked for
> Thunderbird).
>
> Cheers
> Tony
>
> --
> Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!,
> /l at omcgtjuba.phi/')

There's an "attach to email" service menu for konqueror on kde-look.org 
(look in the servicemenu section).  That has a script, which contains 
the command line options for creating a new message with attachments 
for most of the major mail clients.

Good luck.
-- 
Regards

Matt




More information about the wellylug mailing list