I'm creating a SMTP client. I'm entering the data(to, from, subject, body) in a HTML form. How do I pass that data into the actual Java SMTP client so I can send it? I know how to hardcode the data into the client and send it that way but having trouble with letting the user enter the info. I've tried saving them as strings but had no luck.
sfrider0
6
Junior Poster
Recommended Answers
Jump to Postwhat exactly do you try?
I think you would be better of using .jsp and java servlets, instead of plain html
Jump to PostEasiest way to use jsp and make sure the server supports jsp. Then in form tag, <form action="mail.jsp" method= post>
Check http://www.jsptut.com/Forms.jsp for details.
All 8 Replies
stultuske
1,116
Posting Maven
Featured Poster
sfrider0
6
Junior Poster
orko
36
Junior Poster
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
sfrider0
6
Junior Poster
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
sfrider0
6
Junior Poster
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.