Can you send the mail from a servlet ,if yes tell how?

Answer Posted / ravikiran.chd

yes we can send a mail with the help of send mail or simple
mail API,
we have to use port 25 to send the mail and pop before
authentication is required if the mail we have to send have
to go to the inbox

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which httpsession object is used to view and manipulate information about a session?

939


What is servlet instance?

740


What do you mean by request dispatcher in servlet? Also explain its methods.

832


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

743


How can we refresh automatically when new data has entered the database?

828


What is cookie in servlet?

773


What are the functions of Servlet container?

809


What do you mean by annotations in servlet?

772


What are the uses of servlet and what is servlet chaining?

778


What is the use of send redirect () method?

785


What is the use of httpservletresponsewrapper?

703


What do you mean by url pattern in servlet?

819


Why do we need a constructor in a servlet if we use the init method?

733


What is httpservlet and how it is different from genericservlet?

801


How can we upload the file to the server using servlet?

740