Subversion Repositories SmartDukaan

Rev

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

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