User Comments for the tutorial:

Send Email From JSP & Servlet

Total comments: 21      View Tutorial    Discuss: Send Email From JSP & Servlet



Gr8b tutorial
great tutorial but i wud be greatful if u can provide sm description of the functions used. Thanx 

Hi! Please help me I get the HTTP 404 Error
I am trying to use your guided code for emailing using Java Servlet. I putted the file in "mailservlet.class" C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\classes And Email at Root But still i get HTTP Statu 

I dont understand
Can you show me detail, how to use javamail, and example to send email in JSP step by step 

Project for college
I am doing a college project wghich is quite same as yahoo group. We want to build a portal which should have message sending facility. One of my senior told me that for this we have to buy SMTP protocol. Is that true? Is there any other process in w 

Code of send an email with pdf or txt file in jsp
Respected Sir/Mam, I am Asha Bhatt.I am working Onika Tech company before 1 week.Please give me the code of sending an email with connection & how to attech txt file in this code.My emailId is Thank  

how to set web logic server to work with java mail
how to set web logic server to work with java mail when i am giving the localhost parameter in properties at runtime Exception is generated i.e. send mail Exception Please give me the answers and Exact code for the above problem  

Excellent..........Thank you SIR
You provide me with important settings, i mean configuration settings for tomcat. They works well. With the help of this content i could resolved all the problems, now im succeed in sending mails. Thank you so much sir. Really nice job sir. 

data retrieval
how will retrieve the data, audio, videos, and etc..from data base using j2ee language. 

Best and Kind
I've proud your website ever because more lessons and references so we may leave more thanks roseindia community... Best Regards, API Manila  

Sending comment
Very Easy and good example  

smtp not available from servlet
Thank you for this clear example, unfortunately, after upgrading my web server the servlet began thowing an smtp exception. Sending mail from a java app on same server works so my IT guy says its my problem to solve. Any clues would be appreciated. 

error in sending mail
ERROR: javax.mail.messageException:could not connect to SMTP host:localhost port:25; nested Exception is: refused: connect 

it is good .... but i want to know about auto generated mail .... 

Nice Tutorial
Hi, This is nice and clearly explain. It is easy to understand. 

need more information
hii.. this mail sending code works well!!! but i need to code the button.. that is when ok/submit(button) is pressed on a html form, a mail is generated its content or generation is not shown. its content is in a particular format and received from t 

J2ee Tutorial 

thanks for guid and code it will help me a lot. 

this tutorial is very good but I wonder how it would look if I had a calculator, where the result of an operation were sent to my e-mail after activating the "send" button on your calculator. if you can help me I would be very grateful Thayane 

checking email
wow.. its working man 

how to download mail.jar and activation.jar 

Help a Lot
Information about sending was really fruitful nd helped me a lot...... 

Related Tutorial and Articles
EJB Questions

anywhere on this site! for introduction and deployment of EJB Tutorial visit... for the best EJB tutorial from the scratch, then visit  i want to make a small application using EJB ,pls any one can 


Introduction To Enterprise Java Bean(EJB). WebLogic 6.0 Tutorial.
Welcome to EJB Section (Learn to Develop World Class... Tutorial)     ...   Introduction To Enterprise Java Bean 


Building a Simple EJB Application Tutorial
Building a Simple EJB Application - A Tutorial   ...)  Introduction In this tutorial we will create a simple session... introduction to EJB development and some of the Web development tools available 

EJB Questions

ejb - EJB
of 3.0 version.  Hi friend, EJB : The Enterprise JavaBeans architecture or EJB for short is an architecture for the development and deployment... and budget. EJB 3.0 New Features Following are the new features of EJB 

Programming Tutorials

Introduction To Enterprise Java Bean(EJB). WebLogic 6.0 Tutorial.


What is EJB 3.0?
What is EJB 3.0       This lesson introduces you with EJB 3.0, which is being used extensively for developement of robust, scalable and secure applications. What is EJB 

Struts 2 Tutorials

Introduction To Application
Introduction To Application The present application is an online test application, which takes online tests on programming languages. In this application... provided with this tutorial in eclipse. This application is basically divided 


EJB 3.0 Tutorials
; This tutorial gradually takes a new comer to master EJB along....    Ejb message driven bean This tutorial explains you the process... and the remote interface.   EJB create method In this tutorial we 

EJB Tools

J2EE Tutorial - Introduction
J2EE Tutorial - Introduction      ... is Java atall or something else. This tutorial is a conceptual... professionals  to be forewarned that the Industry expects sound knowledge of EJB 

EJB Questions

tutorials - EJB
ejb tutorial for beginners free  Can anyone give me the reference of EJB tutorials for beginners