Hans wrote:
> Hi!
>
> I don't think this is possible but I have a report that is created in XML
> and transformed to html using XSL. Is it possible to add a link in this
> report that will mail itself (the report as an attachment)?
No. And thats assuming that you even manage to open an email window.
> I can add text in the subject line and the body but I cannot attache
> the report itself.
While it may indeed "work" on your computer, I promise your mailto:
doesn't work on mine. Nor does it work for anybody that either uses
web-based email or does not have an email client associated with the
browser.
> If it is not possible to attache the report is it possible to "steal" the
> entire html from the report and insert that into the body of the email (I
> guess this is limited in length since I am using the mailto and add the
> subject and body on the querystring and the querystring is limited in
> length)?
Use a form, put the contents of the report in a textarea, submit the
form. Let the server send the mail.
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq