Subversion Repositories SmartDukaan

Rev

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

Rev 27477 Rev 27504
Line 907... Line 907...
907
				String[] sendToArray = new String[] { storeGuyEntry.getKey() };
907
				String[] sendToArray = new String[] { storeGuyEntry.getKey() };
908
				Utils.sendMailWithAttachment(googleMailSender, sendToArray, null, "Franchise Investment Summary", "PFA",
908
				Utils.sendMailWithAttachment(googleMailSender, sendToArray, null, "Franchise Investment Summary", "PFA",
909
						fileName, new ByteArrayResource(baos.toByteArray()));
909
						fileName, new ByteArrayResource(baos.toByteArray()));
910
			}
910
			}
911
			sendTo = Arrays.asList("tarun.verma@smartdukaan.com", "kamini.sharma@smartdukaan.com",
911
			sendTo = Arrays.asList("tarun.verma@smartdukaan.com", "kamini.sharma@smartdukaan.com",
912
					"hemant.kaura@smartdukaan.com", "amit.babu@smartdukaan.com", "amit.gupta@shop2020.in",
912
					"hemant.kaura@smartdukaan.com", "neeraj.gupta@smartdukaan.com", "amit.gupta@shop2020.in",
913
					"manish.gupta@smartdukaan.com", "niranjan.kala@smartdukaan.com");
913
					"manish.gupta@smartdukaan.com", "niranjan.kala@smartdukaan.com");
914
		}
914
		}
915
 
915
 
916
		ByteArrayOutputStream baos = FileUtil.getCSVByteStream(headers, rows);
916
		ByteArrayOutputStream baos = FileUtil.getCSVByteStream(headers, rows);
917
		String[] sendToArray = sendTo.toArray(new String[sendTo.size()]);
917
		String[] sendToArray = sendTo.toArray(new String[sendTo.size()]);