Chris Bruner wrote:

Hi all,

I'm trying to expand an application so that it uses the default mail client,
and I'm having problems with netscape.  What I have is a program that
produces a valid smtp file which may or may not contain attachements. What I
want to be able to do, is call the users default mail client so that this
file get's opened up and they can do any final editing and addressing before
it gets sent.

My first attempt was to simple name the file "insurance.eml" and shell
execute it. This would bring up outlook express as the client and away it
would go. Obvioulsy not everyone is using outlook express so I need to make
a more general solution.

I'm able to get the default email client to start, (using register info) but
I'm unable to get the file to automatically be loaded into the client ready
for editing.

This to me seems an obvious thing (since you are able to save files in
composer), but there looks to be no way of restoring them.

From http://www.mozilla.org/docs/command-line-args.html


   mozilla -compose "[EMAIL PROTECTED],
                     subject=what you need to know,
                     attachment=file:///c:/directory/file.ext,
                     body=text goes here -- how much? who knows"

Without the line breaks and indentation. There may be another syntax for specifying the name of the attachment, but that one works, I just tried it.

--
Michael Cowperthwaite

To send mail, remove 'Z's from the poster's email address.




Reply via email to