Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Open mail and attache document!

Reply
Thread Tools

Open mail and attache document!

 
 
Hans
Guest
Posts: n/a
 
      11-11-2004
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


 
Reply With Quote
 
 
 
 
Andrew Poulos
Guest
Posts: n/a
 
      11-11-2004
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
 
Reply With Quote
 
 
 
 
Hans
Guest
Posts: n/a
 
      11-11-2004

"Andrew Poulos" <(E-Mail Removed)> wrote in message
news:41931b39$0$6544$(E-Mail Removed)...
> 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


 
Reply With Quote
 
Andrew Poulos
Guest
Posts: n/a
 
      11-11-2004
Hans wrote:
> "Andrew Poulos" <(E-Mail Removed)> wrote in message
> news:41931b39$0$6544$(E-Mail Removed)...
>
>>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
 
Reply With Quote
 
Hans
Guest
Posts: n/a
 
      11-11-2004
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


 
Reply With Quote
 
Michael Winter
Guest
Posts: n/a
 
      11-11-2004
On Thu, 11 Nov 2004 21:01:22 +1100, Andrew Poulos <(E-Mail Removed)>
wrote:

> Hans wrote:
>
>> "Andrew Poulos" <(E-Mail Removed)> wrote in message
>> news:41931b39$0$6544$(E-Mail Removed)...


[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.
 
Reply With Quote
 
Randy Webb
Guest
Posts: n/a
 
      11-11-2004
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
 
Reply With Quote
 
Hans
Guest
Posts: n/a
 
      11-15-2004
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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lapworks Attache Laptop Stand Review Ian Front Page News 0 03-14-2008 08:27 PM
Re: how to open a file in some application using Tkinter i am usingTKINTER to create GUI application i want to know how to open a worddocument in open office or any other applicatio Fredrik Lundh Python 1 01-09-2008 10:40 AM
Saved Mail Gone and Sent Mail Not Being Saved Gregg Firefox 6 03-06-2006 02:13 AM
reading attache catapult data files J-McC Computer Support 2 07-03-2005 03:21 AM
Problem with System.Web.Mail.MailMessage and HTML mail =?Utf-8?B?TWlja2VCb3k=?= ASP .Net 1 06-21-2005 06:11 AM



Advertisments