who can give a simple example? Urgently need!!

F

Flamingo

Hi folks,

I want a webpage, there would be a input textfield, and a "sumbit"
button
there, if you press the submit button, the contents you input to the
textfield would be send to your email. who can give me a simple sample
about that. thanks a lot. I really need i t urgently.
 
A

ASM

Flamingo a écrit :
Hi folks,

I want a webpage, there would be a input textfield, and a "sumbit"
button
there, if you press the submit button, the contents you input to the
textfield would be send to your email. who can give me a simple sample
about that. thanks a lot. I really need i t urgently.


http://stephane.moriaux.perso.wanadoo.fr/truc/send_page_url.htm

and see the sources

other but in french :
http://stephane.moriaux.perso.wanadoo.fr/truc/mailto_texte_htm
go down to 'Exemple' in section 2
copy and try code given there
 
W

web.dev

ASM said:

IMO, that is not a good solution to the OP problem. Simply because it
assumes that by using the mailto: protocol that the client also has an
email client. This isn't wholly reliable. However, from the OP
question, it seems they wanted something more like a "subscription"
sort of service where email is _automatically_ sent. Therefore, a
server-side solution would've been more elegant.
 
A

ASM

web.dev a écrit :
However, from the OP
question, it seems they wanted something more like a "subscription"
sort of service where email is _automatically_ sent. Therefore, a
server-side solution would've been more elegant.

Absolutely, server side is always better.
And if really OP wants that, he missed the right group.

My solution was only given as a rubber patch in JavaScript where visitor
can decide himself to which e-mail address he wants to send
(who has not an email client ?)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top