Subversion Repositories SmartDukaan

Rev

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

Rev 9191 Rev 9192
Line 635... Line 635...
635
		java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
635
		java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
636
		Calendar cal=GregorianCalendar.getInstance();
636
		Calendar cal=GregorianCalendar.getInstance();
637
		String emailFromAddress = "build@shop2020.in";
637
		String emailFromAddress = "build@shop2020.in";
638
		String password = "cafe@nes";
638
		String password = "cafe@nes";
639
		GmailUtils mailer = new GmailUtils();
639
		GmailUtils mailer = new GmailUtils();
640
		//String sendTo[] = new String[]{"vikram.raghav@shop2020.in"};
640
		String sendTo[] = new String[]{"vikram.raghav@shop2020.in"};
641
		String sendTo[] = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
641
		/*String sendTo[] = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
642
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
642
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
643
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in","amar.kumar@shop2020.in"};
643
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in","amar.kumar@shop2020.in"};
644
		try {
644
		*/try {
645
			logger.info("Before Sending Emails");
645
			logger.info("Before Sending Emails");
646
 
646
 
647
			if(sb.toString().equalsIgnoreCase("")){
647
			if(sb.toString().equalsIgnoreCase("")){
648
				if(orders_processed!=0){
648
				if(orders_processed!=0){
649
					String emailSubjectTxt = orders_processed + " Flipkart " + order_string + " Created "+sdf.format(cal.getTime());
649
					String emailSubjectTxt = orders_processed + " Flipkart " + order_string + " Created "+sdf.format(cal.getTime());