Subversion Repositories SmartDukaan

Rev

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

Rev 9091 Rev 9092
Line 581... Line 581...
581
		java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
581
		java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
582
		Calendar cal=GregorianCalendar.getInstance();
582
		Calendar cal=GregorianCalendar.getInstance();
583
		String emailFromAddress = "build@shop2020.in";
583
		String emailFromAddress = "build@shop2020.in";
584
		String password = "cafe@nes";
584
		String password = "cafe@nes";
585
		GmailUtils mailer = new GmailUtils();
585
		GmailUtils mailer = new GmailUtils();
586
		//String sendTo[] = new String[]{"vikram.raghav@shop2020.in"};
586
		String sendTo[] = new String[]{"vikram.raghav@shop2020.in"};
587
		String sendTo[] = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
587
		/*String sendTo[] = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
588
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
588
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
589
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in","amar.kumar@shop2020.in"};
589
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in","amar.kumar@shop2020.in"};
590
		try {
590
		*/try {
591
			logger.info("Before Sending Emails");
591
			logger.info("Before Sending Emails");
592
 
592
 
593
			if(sb.toString().equalsIgnoreCase("")){
593
			if(sb.toString().equalsIgnoreCase("")){
594
				if(orders_processed!=0){
594
				if(orders_processed!=0){
595
					String emailSubjectTxt = orders_processed + " Flipkart " + order_string + " Created "+sdf.format(cal.getTime());
595
					String emailSubjectTxt = orders_processed + " Flipkart " + order_string + " Created "+sdf.format(cal.getTime());