File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes send mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "send mail" Watch "send mail" New topic

send mail

sihani rani
Ranch Hand

Joined: Jun 22, 2010
Posts: 32
In my jsp page

can i send secret code to email id through tomcat server???


can i send message to emai id via tomcat server???

sihani rani
Ranch Hand

Joined: Jun 22, 2010
Posts: 32
please reply me...

thanks in advance...
Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3929

sihani rani wrote:please reply fast...

Expecting a reply within 1.5 hours?
Please read PatienceIsAVirtue

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Yes you can. Have a look at the JavaMail API.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
vijin das
Ranch Hand

Joined: Jun 07, 2010
Posts: 129

you should be having a mail server some where in your network (inter/intra) which can be accessible through your java class to send mail .

for more idea

please check this links

java mail starter

java mail faq

java mail

I agree. Here's the link:
subject: send mail
It's not a secret anymore!