This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Ananth Chellathurai wrote:What have you tried so far?
I got code from internet which is sending email and its called servlets because i am j2me programmer and never did any thing in jsp or servlets so this is my first time i need to do something in jsp side.
we can't send an email in j2me ,either we need to use that mobile api or we need to use SMTP .
I want to use smtp server one.
If you really want to send a mail in a j2me-application, you can find a good introduction here.
But I still don't understand why you ask for jsp and servlets in the context of j2me. This only makes sense, when your j2me-application doesn't send the mail itself but calls a servlet which sends a mail via JavaMail. If this is the case, you really should consult the documentation Ulf mentioned.