Hi!

Mozilla honours the query parameters subject and body in a mailto link. So
with

window.open('mailto:[EMAIL PROTECTED]?subject=hallo&body=hi!','','')

I may open a new message.

But this is rather akward for a larger body text. Also I want to set the
mail type to be text/plain. Perhaps there is another query parameter for
this?

Anyway, what I really want to do is this:

Create some data via Javascript and let the user mail them to his home
account. The data will be created by an online XUL application. Ideally the
data should be sent as attachemnt or in a mail with a special MIME type (eg
application/x-my-app).

Is there any way to do this? Perhaps via XPCOM?

Masi



Reply via email to