Switch to full style
What's behind JSP & Servlets
Post a reply

How to send conformation e-mail through JSP

Thu May 12, 2011 8:01 am

I'm working on a project and i want when user click on submit button a conformation email is sent to the user.I need code for that help plz.



Re: How to send conformation e-mail through JSP

Thu May 12, 2011 5:16 pm

if you are talking about sending mail in java here is it Send mail in java class

about confirmation , you will need to generate a random in registration time ,save it to user database record and send it to mail as link like this .
Code:
  http://www.yourdomain.com/confirm.jsp?code=randomcode&&username=username


you will have to read the randomcode and username and compare it with the one in database , if the same , activate the user else show error message .

hope helped .

Post a reply
  Related Posts  to : How to send conformation e-mail through JSP
 i want to send conformation email with user details on the     -  
 send mail using php     -  
 send mail cc and bcc in php     -  
 how to send mail with Ant     -  
 send mail to Multiple recipients     -  
 validate mail in jsp     -  
 validate e-mail in php     -  
 php variables in mail function     -  
 mail function problem     -  
 Help Sending e-mail from VB.Net application     -