File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes How to Validate New Email Address Registered is Correct Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to Validate New Email Address Registered is Correct" Watch "How to Validate New Email Address Registered is Correct" New topic
Author

How to Validate New Email Address Registered is Correct

rinku jain
Greenhorn

Joined: Jan 04, 2011
Posts: 26
Hi All ,

I am developing my site , can any body can help me help how should in implement it .

I need that automatically the mail is send to the registered mail id and on clicking on the link the mail is validated .

please help me how should i implement this .

Thanks in advance !!!
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1449
    
    6

By validating what exactly do you mean? Validating the format of mail id or whether the email id is registered or not. If you wish to validate the format you can do it using java script at the client/browser end, and for the other case you can validate it from server end. For sending mail you can use java mail apis.


Swastik
rinku jain
Greenhorn

Joined: Jan 04, 2011
Posts: 26
thanks for the reply

When ever new user register at my website ,so automatic mail is send to that mail id with validation link ,
so when the user that have registered need to verify the link by clicking on the verification link sended to his mail id

this all i need to do
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1449
    
    6

Whenever you receive a registration request at your server end, in addition to saving details in database, use java mail to send the mail and in that mail body include the verification link.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Validate New Email Address Registered is Correct
 
Similar Threads
Email confirmation
Attachements in Java mail
knowing how many guests and registered users
Automatic Mail sending Process...
Sending Email