This is my mail sending class. I have included username and password in this class for time being for my code to get executed.
This class runs fine when i run it as java application (with main method in place).
I have include both jars - mail.jar & Activation.jar
Message message = new MimeMessage(session);
message.setSubject("Proceed To Complete Registration");
+ "\nPlease Click Link Below To Complete Registration"
+ "\nI am Very Happy");