This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
Hello I am developing an portal where users can login and play games, in this portal I have an option where I have to mail the users telling there scores.The mail package I am using here is Javamail, now I am testing the javamail via dos prompt and it is working fine, what I need is when I click a button in my html page it should invoke an servlet and through this I have to activate my javamail programme, I am using javawebserver2.0 as my server, this is for my exams. Kindly help me thanks in advance regards Kiran
posted 14 years ago
Hi Kiran, For sending mails from java servlets you can use :- 1- sun.net.smtp.SmtpClient 2- by using java mail api try to use it. rishi