470,599 Members | 1,496 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,599 developers. It's quick & easy.

Automatic mail-sending using JS?

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
Jul 23 '05 #1
2 1561
"Martin Mrazek" <mr****@compik.fd.cvut.cz> wrote in message
news:dc**************************@posting.google.c 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.
Jul 23 '05 #2
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.
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Ido | last post: by
reply views Thread by Webmaster | last post: by
4 posts views Thread by Tom | last post: by
6 posts views Thread by Tazzy via AccessMonster.com | last post: by
25 posts views Thread by sidd | last post: by
reply views Thread by Alan Baljeu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.