Subversion Repositories SmartDukaan

Rev

Rev 10900 | Rev 10902 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10900 Rev 10901
Line 517... Line 517...
517
		java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
517
		java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
518
		Calendar cal=GregorianCalendar.getInstance();
518
		Calendar cal=GregorianCalendar.getInstance();
519
		String emailFromAddress = "build@shop2020.in";
519
		String emailFromAddress = "build@shop2020.in";
520
		String password = "cafe@nes";
520
		String password = "cafe@nes";
521
		GmailUtils mailer = new GmailUtils();
521
		GmailUtils mailer = new GmailUtils();
522
		String sendTo[] = new String[]{"vikram.raghav@shop2020.in"};
522
		//String sendTo[] = new String[]{"vikram.raghav@shop2020.in"};
523
		/*String sendTo[] = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
523
		  String sendTo[] = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
524
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
524
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
525
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in"};
525
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in"};
526
		 */try {
526
		 */try {
527
			 if(new_orders==processed_orders && new_orders > 0){
527
			 if(new_orders==processed_orders && new_orders > 0){
528
				 String emailSubjectTxt = "Snapdeal Orders Created Successfully "+sdf.format(cal.getTime());
528
				 String emailSubjectTxt = "Snapdeal Orders Created Successfully "+sdf.format(cal.getTime());