Subversion Repositories SmartDukaan

Rev

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

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