Java Help

E

Eagle35

hi all

im new to the whole java thing and need some help!

im trying to make an e mail form and when i test it, it sends the e mail to
the designated e mail address but when i go to the e mail account i sent it
to it doesnt have any info that should have been submitted

all i get in the e mail is: name=

im using the following e mail form template: JavaFile.com e-mail form

Thanks for any help you can offer!
 
D

David Dorward

Eagle35 said:
im new to the whole java thing and need some help!

This is a JavaScript newsgroup, not a Java newsgroup.
im trying to make an e mail form and when i test it, it sends the e mail
to the designated e mail address but when i go to the e mail account i
sent it to it doesnt have any info that should have been submitted
all i get in the e mail is: name=
im using the following e mail form template: JavaFile.com e-mail form

A glance at that (you could have been more specific), suggests they use the
mailto technique. Read all about it:

http://www.isolani.co.uk/newbie/mailto.html

Now read about how form data should be handled:
http://www.cs.tut.fi/~jkorpela/forms/
 
L

Lee

Eagle35 said:
hi all

im new to the whole java thing and need some help!

im trying to make an e mail form and when i test it, it sends the e mail to
the designated e mail address but when i go to the e mail account i sent it
to it doesnt have any info that should have been submitted

all i get in the e mail is: name=

im using the following e mail form template: JavaFile.com e-mail form

Thanks for any help you can offer!

It's probably not a good idea to use code from a site that
refers to them "Java Scripts". It suggests that the author
doesn't really understand that Javascript has nothing at all
to do with Java.

There is no Javascript or Java required to create an email
form. All you need is HTML and to know that every visitor
who uses the form has their default email agent defined so
that the browser can invoke it, and that their browser
supports the "mailto" protocol, and that they don't mind
allowing your form to send their information via email.

If you're willing to believe that all of those are true,
all you need is something like this. Again, there is
no Java or Javascript involved at all:

<html>
<body>
<form action="mailto:[email protected]"
method="post"
enctype="text/plain">
<input name="alpha"><br>
<input name="beta"><br>
<select name="gamma">
<option>one</option>
<option>two</option>
</select>
<input type="submit">
</form>
</body>
</html>
 
E

Eagle35

yer i tried this and it works! all the info is sent by a email!

Thanks for the help!
 
E

Eagle35

just one thing! how to i add some more boxes and add labels to them so
people no what to type in them and edit the text in the drop down menu
 

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

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,141
Latest member
BlissKeto
Top