I have created a registration form in JSP with an input field for email address. When user submits the form, then the user must get an auto-reply on his/her email address. How can I achieve this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your question is not very clear.
Let me get the requirement right; you need the code to send an email to the user only on successful registration. correct?
In your servlet(which is invoked on submit action),
Send email method would ideally send the request to an JMS(queue) to send the email to the desired user.
Below is a snippet to send an email.