Click to See Complete Forum and Search --> : Looking for an HTML code


corrado
03-23-2003, 12:43 PM
Where can I find an HTML or Javascript script that allows:
1. to send a form to the address following MAILTO
2. to get the sender receive a thank you letter by return
Is there any Forum member who can help? Thank you very much.

Jick
03-25-2003, 02:30 AM
From what I have researched you cannot do this with javascript or HTML but you would probably have luck with PHP or CGI if your server supports it. :D

pyro
03-25-2003, 08:09 AM
Originally posted by corrado
2. to get the sender receive a thank you letter by return
Please explain what you mean by this.

dabush
03-25-2003, 09:05 AM
he wants the user to receive a confirmation email saying thank you. #1 possible with HTML

<form action="mailto:your@address.com">

#2 is not possible wit html or js

pyro
03-25-2003, 09:37 AM
I would still like corrado to explain what he means. Does he mean a letter, like he said, or does he mean that he wants the users to be forwared to a new page.

If he means a letter (ie. email) he will need an autoresponder, if not, he will need to use server side coding to forward him to the new page. (I think you can do this in IE with javascript, but it doesn't work cross browser, as far as I know)

Aronya1
03-25-2003, 10:49 PM
corrado,

FormMail will sent the contents of a form to whoever you would like, and then display a web page for the user indicating what info was submitted. You can get it here:
http://www.scriptarchive.com/formmail.html

Hope that does what you need.

If you truly need the email sent to the form user, I agree with pyro; you need an autoresponder. But any decent hosting service will include that as part of your package.

Aronya1

corrado
03-25-2003, 11:49 PM
I wish to thank the Forum friends who have helped me with their suggestions. Mydimick, pyro, dabush and Aronya1: you all let me understand that what I really needed was an Autoresponder and I have found that this is a service offered free by my provider www.aruba.it. You have surely realised that I am not so familiar with such topics. I have recently built up a website www.myholidayhouse.net just relying on the limited knowlege I have about DHTML, Javascript, CSS. I don't have Front Page. At present I am working on Italiano-online.it Thank you again to all of you.