Subversion Repositories SmartDukaan

Rev

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

Rev 24688 Rev 24689
Line 706... Line 706...
706
		byte[] buffer = new byte[respsonseEntity.getContent().available()];
706
		byte[] buffer = new byte[respsonseEntity.getContent().available()];
707
		respsonseEntity.getContent().read(buffer);
707
		respsonseEntity.getContent().read(buffer);
708
		String[] to = { "amod.sen@smartdukaan.com", "adeel.yazdani@smartdukaan.com", "kamini.sharma@smartdukaan.com",
708
		String[] to = { "amod.sen@smartdukaan.com", "adeel.yazdani@smartdukaan.com", "kamini.sharma@smartdukaan.com",
709
				"tarun.verma@smartdukaan.com", "chaitnaya.vats@smartdukaan.com", "mohinder.mutreja@smartdukaan.com" };
709
				"tarun.verma@smartdukaan.com", "chaitnaya.vats@smartdukaan.com", "mohinder.mutreja@smartdukaan.com" };
710
		Attachment attachment = new Attachment(
710
		Attachment attachment = new Attachment(
711
				"aeging-report-" + FormattingUtils.formatDate(LocalDateTime.now().minusDays(1)),
711
				"aeging-report-" + FormattingUtils.formatDate(LocalDateTime.now().minusDays(1) + ".csv"),
712
				new ByteArrayResource(buffer));
712
				new ByteArrayResource(buffer));
713
		Utils.sendMailWithAttachments(googleMailSender, to, null, "Stock Aeging Report", "PFA", attachment);
713
		Utils.sendMailWithAttachments(googleMailSender, to, null, "Stock Aeging Report", "PFA", attachment);
714
	}
714
	}
715
 
715
 
716
	public void moveImeisToPriceDropImeis() throws Exception {
716
	public void moveImeisToPriceDropImeis() throws Exception {