Subversion Repositories SmartDukaan

Rev

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

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