Subversion Repositories SmartDukaan

Rev

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

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