Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Javascript (http://www.velocityreviews.com/forums/f68-javascript.html)
-   -   Open mail and attache document! (http://www.velocityreviews.com/forums/t880538-open-mail-and-attache-document.html)

Hans 11-11-2004 07:34 AM

Open mail and attache document!
 
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)? I can add text
in the subject line and the body but I cannot attache the report itself. 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)?



An IE solution is acceptable (version 5.5+) even though a solution that
works on Netscape 7+ (Mozilla) as well would be better

Regards
/Hans



Andrew Poulos 11-11-2004 07:57 AM

Test for media file playback on MZ
 
With a "standard" Mozilla install on Win XP how can I detect whether or
not MZ can play/display a specific media file type, for example WMA and
WMV files?


Andrew Poulos

Hans 11-11-2004 09:45 AM

Re: Test for media file playback on MZ
 

"Andrew Poulos" <ap_prog@hotmail.com> wrote in message
news:41931b39$0$6544$5a62ac22@per-qv1-newsreader-01.iinet.net.au...
> With a "standard" Mozilla install on Win XP how can I detect whether or
> not MZ can play/display a specific media file type, for example WMA and
> WMV files?



I guess this should be in a new thread?

/Hans



Andrew Poulos 11-11-2004 10:01 AM

Re: Test for media file playback on MZ
 
Hans wrote:
> "Andrew Poulos" <ap_prog@hotmail.com> wrote in message
> news:41931b39$0$6544$5a62ac22@per-qv1-newsreader-01.iinet.net.au...
>
>>With a "standard" Mozilla install on Win XP how can I detect whether or
>>not MZ can play/display a specific media file type, for example WMA and
>>WMV files?

>
> I guess this should be in a new thread?


I'm sorry but I don't understand what you're talking about.

Andrew Poulos

Hans 11-11-2004 10:28 AM

Re: Test for media file playback on MZ
 
If my Outlook Express has not gone crazy you have added your question about
"Test for media file..." as an answer to my question "Open mail and attache
document". I guess what you wanted is to create a new question?

I don't know which newsreader you are using but if you use OE you may have
clicked the "Reply group" when you entered your question instead of "New
Post"?

Regards
/Hans



Michael Winter 11-11-2004 10:29 AM

Re: Test for media file playback on MZ
 
On Thu, 11 Nov 2004 21:01:22 +1100, Andrew Poulos <ap_prog@hotmail.com>
wrote:

> Hans wrote:
>
>> "Andrew Poulos" <ap_prog@hotmail.com> wrote in message
>> news:41931b39$0$6544$5a62ac22@per-qv1-newsreader-01.iinet.net.au...


[off-topic reply]

>> I guess this should be in a new thread?

>
> I'm sorry but I don't understand what you're talking about.


You replied to Hans' post, rather than starting your own thread.

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.

Randy Webb 11-11-2004 05:11 PM

Re: Open mail and attache document!
 
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

Hans 11-15-2004 06:49 AM

Re: Open mail and attache document!
 
Hi Randy!
> No. And thats assuming that you even manage to open an email window.
>

That will not be a problem. This is not a public site it is an inhouse where
all have Outlook installed as the main mailclient.


> > 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.
>

I agree that a server side solution would be better in a solution that
should be placed public but in my case this is not an issue. To send the
message from the server may be an alternative anyway if there is no way of
attaching the report client side. I just wanted to now if there exist a way
of doing it client side since everything is working now except the
attachment of the report to the mail. No need to create server side code if
there exist a client side way of solving the issue, but if this is not
possible a server side solution may be the way to go. I did not expect to
find a client side solution but if there exist one I thought I would get an
answer here.



Regards
/Hans





All times are GMT. The time now is 01:38 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.