Subversion Repositories SmartDukaan

Rev

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

Rev 10994 Rev 10995
Line 678... Line 678...
678
		java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
678
		java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
679
		Calendar cal=GregorianCalendar.getInstance();
679
		Calendar cal=GregorianCalendar.getInstance();
680
		String emailFromAddress = "build@shop2020.in";
680
		String emailFromAddress = "build@shop2020.in";
681
		String password = "cafe@nes";
681
		String password = "cafe@nes";
682
		GmailUtils mailer = new GmailUtils();
682
		GmailUtils mailer = new GmailUtils();
683
		//String sendTo[] = new String[]{".raghav@shop2020.in"};
683
		String sendTo[] = new String[]{".raghav@shop2020.in"};
684
		String sendTo[] = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
684
		/*String sendTo[] = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
685
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
685
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
686
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in"};
686
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in"};
687
		try {
687
		*/try {
688
			logger.info("Before Sending Emails");
688
			logger.info("Before Sending Emails");
689
			String ordersProcessingStatus = "Total Orders : " + total_orders +"\n"+ 
689
			String ordersProcessingStatus = "Total Orders : " + total_orders +"\n"+ 
690
			"Processed Orders : " + orders_processed +"\n"+
690
			"Processed Orders : " + orders_processed +"\n"+
691
			"Existing Orders : " + duplicate_orders +"\n"+
691
			"Existing Orders : " + duplicate_orders +"\n"+
692
			"Failed Orders :" + (total_orders - orders_processed - duplicate_orders - not_approved)+"\n"+
692
			"Failed Orders :" + (total_orders - orders_processed - duplicate_orders - not_approved)+"\n"+