Is it possible to send a mail from a servlet? Explain?

Answers were Sorted based on User's Feedback



Is it possible to send a mail from a servlet? Explain?..

Answer / niranjanravi

yes we can a mail through mailAPI

Is This Answer Correct ?    3 Yes 0 No

Is it possible to send a mail from a servlet? Explain?..

Answer / saikiran

yes possible by API.
Explanation:
If that are in different two Independent Systems
That is One of the Rule that reference of Object in one
system is not given to the another system JVM is not
allowes.
For that RMI standard come into existance We make Free
from Vendor Locking

Is This Answer Correct ?    2 Yes 0 No

Is it possible to send a mail from a servlet? Explain?..

Answer / shumaan

yes we can thorough API

Is This Answer Correct ?    0 Yes 0 No

Is it possible to send a mail from a servlet? Explain?..

Answer / bhushan

yes its possible to send mail from servlets.
using dopost()method we can compose mail by hard coding HTML inside the out.println()-- this is Hidden form field mechanism. & urlRewriting.
And using sendRedirect() we reach to destination servlet.where ew again use req.getParameter().

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

Explain the difference between a web server and a web container?

0 Answers  


How do I support both get and post from the same servlet?

0 Answers  


How is a servlet implemented in code?

0 Answers  


Why filter is used in servlet?

0 Answers  


Some examples where generic servlet is used?

1 Answers  






Write all the phases defined in servlet life cycle?

0 Answers  


What are the type of protocols used in httpservlet?

0 Answers  


What do you mean by a filter and how does it work?

0 Answers  


which method in doGet or doPost is use to send binary date to server

2 Answers   HCL,


What are the key methods that are involved in processing of http servlets?

0 Answers  


How variables can be accessed across the sessions?

3 Answers  


Can we fetch the attributes related to a servlet on a different servlet?

0 Answers  


Categories