Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Automatic mail-sending using JS?

Reply
Thread Tools

Automatic mail-sending using JS?

 
 
Martin Mrazek
Guest
Posts: n/a
 
      04-27-2004
Hi,
I construct HTML including several forms. Together there are about
2.500 values to be filled by client on that page. I need to have
button there which generates e-mail from those values and sends it to
our address. Do I understand well JS is not capable to do it? What to
use instead for generating mail? ActiveX?

Martin
 
Reply With Quote
 
 
 
 
Dag Sunde
Guest
Posts: n/a
 
      04-28-2004
"Martin Mrazek" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Hi,
> I construct HTML including several forms. Together there are about
> 2.500 values to be filled by client on that page. I need to have
> button there which generates e-mail from those values and sends it to
> our address. Do I understand well JS is not capable to do it? What to
> use instead for generating mail? ActiveX?
>


Why do you want to send them as mail from the client?

Usually, you store each form's data on the server after
the user submit it, and before you show the next form.

When the user have submitted all the forms, you have all his data
stored on your server already (in a db, file, or whatever).

Now, you can either extract the data directly from storage, or
have the last submit start a serverside script to gather it up
and send it as mail from your server.

--
Dag.


 
Reply With Quote
 
 
 
 
Mark Preston
Guest
Posts: n/a
 
      04-28-2004
Martin Mrazek wrote:

> I construct HTML including several forms. Together there are about
> 2.500 values to be filled by client on that page. I need to have
> button there which generates e-mail from those values and sends it to
> our address. Do I understand well JS is not capable to do it? What to
> use instead for generating mail? ActiveX?
>

If you are collecting such a huge amount of data then doing it on a
single web page is fraught with problems. Split it up and store the data
on your server. When everything is done, run a server-side process to
collate the data and send it on. That means you don't need to use
Javascript at all - you would be better off with server-side Java, PHP,
Perl, Python or other options.
 
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
Are you using the gridview controls automatic paging functionality? nyhetsgrupper@gmail.com ASP .Net 1 09-25-2006 11:37 AM
How to automatic redirect if session timeout using ASP.NET 1.1? ABC ASP .Net 3 04-06-2006 09:54 AM
Automatic Refresh of page (using a timer and .reload) causes messagebox. UJ ASP .Net 2 08-12-2005 03:40 PM
Using WinRAR Batchfiles for Automatic Backup Flaming Poultice Computer Support 1 04-14-2005 08:05 PM
Automatic build process + automatic NuNit (2 in 1 solution) ASP .Net 1 06-29-2004 04:15 PM



Advertisments