Discussion Locked

suggesting my site through forms

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

i need to send the form to the email address given in the same form. it is like suggest this site to your friend. I need this to be done in plain html or javascript.
thank you.

5 replies

by mightyduk

try something like this:

I'd recommend some javascript validation for the email address, send me an email and i can give you that code. Not 100% sure if the above will work, but i think so.If not then you'll probably need to use cgi and some sort of send-mail system.

by mightyduk

Thinking again about this. I think you want to send the email right out without the user's further intervention? This will not work with javascript because of security. And I believe microsoft is patching vbscript for the same reason. A client'semail system should not be used without their direct consent. I would recommend using a cgi-script and sendmail or the like.

This discussion is closed to new replies.