Subversion Repositories SmartDukaan

Rev

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

Rev 25996 Rev 25997
Line 686... Line 686...
686
			Set<Integer> partnerIds = entry.getValue();
686
			Set<Integer> partnerIds = entry.getValue();
687
			StringBuffer body = new StringBuffer();
687
			StringBuffer body = new StringBuffer();
688
			Map<Integer, File> emailSnapshotMap = new HashMap<>();
688
			Map<Integer, File> emailSnapshotMap = new HashMap<>();
689
			for (int fofoId : partnerIds) {
689
			for (int fofoId : partnerIds) {
690
				body.append(String.format("<br/><img src=\"cid:%d\"/>", fofoId));
690
				body.append(String.format("<br/><img src=\"cid:%d\"/>", fofoId));
-
 
691
				LOGGER.info("partnerSnapshotMap.get(fofoId) {}", partnerSnapshotMap.get(fofoId));
691
				emailSnapshotMap.put(fofoId, partnerSnapshotMap.get(fofoId));
692
				emailSnapshotMap.put(fofoId, partnerSnapshotMap.get(fofoId));
692
			}
693
			}
693
			Utils.sendEmbeddedHtmlMail(mailSender, new String[] { email }, new String[] {},
694
			Utils.sendEmbeddedHtmlMail(mailSender, new String[] { email }, new String[] {},
694
					String.format("Franchise Screenshots - %s", FormattingUtils.formatDate(LocalDateTime.now())),
695
					String.format("Franchise Screenshots - %s", FormattingUtils.formatDate(LocalDateTime.now())),
695
					body.toString(), emailSnapshotMap);
696
					body.toString(), emailSnapshotMap);