EMailSender sender = new EMailSender(user, host, smtpPort, password);
sender.send("Testing mail sending", "hemapani@127.0.0.1", "Hellp, testing");
EmailReceiver receiver = new EmailReceiver(user, host, "110", password);
receiver.connect();
Message[] msgs = receiver.receive();
if (msgs != null) {
for (int i = 0; i < msgs.length; i++) {
MimeMessage msg = (MimeMessage) msgs[i];
if (msg != null) {