Subversion Repositories SmartDukaan

Rev

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

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