Subversion Repositories SmartDukaan

Rev

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

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