470,841 Members | 1,140 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

I want to send a mail through a form using JS



Hii

how can I write a Javascript for a HTML form which when filled will send
an email to the defined email address in the JS code.

thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #1
4 1450
techy techno wrote:
how can I write a Javascript for a HTML form which when filled will send
an email to the defined email address in the JS code.
You can't. Anybody that says you can do it reliably is lying to you.
If you want to reliably send mail, do it on the server.
thanks


Welcome.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 20 '05 #2
In article <M-********************@comcast.com>, hi************@aol.com
says...
techy techno wrote:
how can I write a Javascript for a HTML form which when filled will send
an email to the defined email address in the JS code.


You can't. Anybody that says you can do it reliably is lying to you.
If you want to reliably send mail, do it on the server.


With JS and ASP or SSJS, you mean?

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Jul 20 '05 #3
On 25 Jan 2004 06:29:09 GMT, techy techno <an**********@hotmail.com> wrote:
how can I write a Javascript for a HTML form which when filled will send
an email to the defined email address in the JS code.


You can't. However, you can use a third-party form mail service, such as
Bravenet and Response-O-Matic. There are both pay and free services
available.

Mike

--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)
Jul 20 '05 #4
Hywel Jenkins wrote:
In article <M-********************@comcast.com>, hi************@aol.com
says...
techy techno wrote:

how can I write a Javascript for a HTML form which when filled will send
an email to the defined email address in the JS code.


You can't. Anybody that says you can do it reliably is lying to you.
If you want to reliably send mail, do it on the server.

With JS and ASP or SSJS, you mean?


I mean any client side code. And especially a mailto: link.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by Professor Yonce | last post: by
16 posts views Thread by bgreer5050 | last post: by
3 posts views Thread by anu b | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.