Click here to Skip to main content
16,015,531 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
There a requirment in my Project is that we get the detail from new user for sign up.
this information will store in my database and we want to send the same copy of detail to user mail for confurmation of mail....

please give me logic and hints for that...
Posted

That's quite a requirement, and you don't have any idea of what to do? How about:
if (newUser)
    store user details to database
    create email from email template
    add user details to email
    send
fi
 
Share this answer
 
i Use Mailer Bean...
Provider by my Seniors.
 
Share this answer
 
jGuru: Fundamentals of the JavaMail API[^]

That explains pretty well how you can send an email. Please use a local email server like HmailServer for testing.

and I assume as you store the data in the DB you're also able to get the data back out of the DB.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900