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.
Joined: Jan 04, 2011
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