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

jumbophut jumbophut at gmail.com
Thu Oct 14 00:02:00 NZDT 2004


On Wed, 13 Oct 2004 19:31:51 +1300, Matt wrote:
> 
> On Wednesday 13 October 2004 10:53, jumbophut wrote:
> > I would like to have a bash script which opens a blank mail message
> > in Mozilla, but with a list of attachments I specify.
> 
> 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.
> 
Thanks Matt.  That had the information I needed.  For the benefit of others:

mozilla --compose
"attachment='file:///path/to/file,file:///path/to/next/file,...'"

The Moz documentation shows a single '-' on the compose option rather
than a '--', which appears to be wrong at least for Linux, but the
kde-look.org guys got it right.

-- 
Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!, /l at omcgtjuba.phi/')




More information about the wellylug mailing list