Subversion Repositories SmartDukaan

Rev

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

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