System.out.println("args: " + args.length);
System.out.println(getProps());
if(args.length!=2) return;
SendGmail gmail = new SendGmail(args[0], args[1]);
if (gmail.sendMessage("Hello Gmail", getProps(), ".classpath")){
System.out.println("email sent");
} else {
System.out.println("email failed, check your settings");
}
}