I'm a VB developer. If I want to call Outlook or Outlook Express to open 
a compose window with a (long) message body with line feeds and 
everything, I can create a temporary file that is then launched by O/OE. 
I create a .eml file and then run this with the associated program 
(either Outlook or Outlook Express).

A .eml file looks something like this:

----------------------------------------
From: David Tenser <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]"
Subject: whatever
X-Priority: 3
X-Unsent: 1
this is the message body... blah blah
blah blah blah.
----------------------------------------

However, if I register Mozilla as the default email client, it still 
starts Outlook Express when running a command like this:

ShellExecute "Open", "C:\tmp.eml"

In other words, Mozilla doesn't support or register the .eml file type. 
I have no problem with that, but my real question is: How can I do the 
same with Mozilla? How can I call a compose window with full specs (such 
as sender, receiver, message body, priority, etc.)? What is the *proper* 
way of doing this, so it works with whatever email app?

/ David


Reply via email to