Subversion Repositories SmartDukaan

Rev

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

Rev 28294 Rev 28295
Line 740... Line 740...
740
 
740
 
741
		}
741
		}
742
 
742
 
743
		String[] retailerEmail = { customRetailer.getEmail() };
743
		String[] retailerEmail = { customRetailer.getEmail() };
744
 
744
 
-
 
745
		/*
745
		List<String> sendTo = Arrays.asList("kamini.sharma@smartdukaan.com", "tarun.verma@smartdukaan.com",
746
		 * List<String> sendTo = Arrays.asList("kamini.sharma@smartdukaan.com",
-
 
747
		 * "tarun.verma@smartdukaan.com", "hemant.kaura@smartdukaan.com",
746
				"hemant.kaura@smartdukaan.com", "niranjan.kala@smartdukaan.com", "sm@smartdukaan.com",
748
		 * "niranjan.kala@smartdukaan.com", "sm@smartdukaan.com",
747
				"tejbeer.kaur@shop2020.in");
749
		 * "tejbeer.kaur@shop2020.in");
748
 
750
		 */
749
		List<String> authUserEmails = csService.getAuthUserByPartnerId(customRetailer.getPartnerId());
751
		List<String> authUserEmails = csService.getAuthUserByPartnerId(customRetailer.getPartnerId());
750
		logger.info("authUserEmails" + authUserEmails);
752
		logger.info("authUserEmails" + authUserEmails);
751
 
753
 
752
		this.sendMailWithAttachments("Order Confirmation", writer.toString(), retailerEmail);
754
		this.sendMailWithAttachments("Order Confirmation", writer.toString(), retailerEmail);
753
		this.sendMailWithAttachments("Order Confirmation", writer.toString(),
755
		// this.sendMailWithAttachments("Order Confirmation", writer.toString(),
754
				sendTo.toArray(new String[sendTo.size()]));
756
		// sendTo.toArray(new String[sendTo.size()]));
755
 
757
 
756
		if (!authUserEmails.isEmpty()) {
758
		if (!authUserEmails.isEmpty()) {
757
			this.sendMailWithAttachments("Order Confirmation", writer.toString(),
759
			this.sendMailWithAttachments("Order Confirmation", writer.toString(),
758
					authUserEmails.toArray(new String[authUserEmails.size()]));
760
					authUserEmails.toArray(new String[authUserEmails.size()]));
759
		}
761
		}