Total members 11894 |It is currently Thu Nov 21, 2024 5:45 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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.




Author:
Newbie
User avatar Posts: 2
Have thanks: 0 time

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 .

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

For this message the author DrRakha has received gratitude : mhtsharma526
Post new topic Reply to topic  [ 2 posts ] 

  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 e-mail in php     -  
 validate mail in jsp     -  
 mail system in java     -  
 php variables in mail function     -  
 mail function problem     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com