Subversion Repositories SmartDukaan

Rev

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

Rev 22917 Rev 22918
Line 214... Line 214...
214
    	helper.setSubject(subject);
214
    	helper.setSubject(subject);
215
    	helper.setText(body);
215
    	helper.setText(body);
216
    	String[] cc = {"backup@shop2020.in"};
216
    	String[] cc = {"backup@shop2020.in"};
217
    	//String[] cc = {"amit.gupta@shop2020.in"};
217
    	//String[] cc = {"amit.gupta@shop2020.in"};
218
    	helper.setCc(cc);
218
    	helper.setCc(cc);
-
 
219
    	helper.setTo(email);
219
    	InternetAddress senderAddress = new InternetAddress("noreply@profitmandi.com", "ProfitMandi Admin");
220
    	InternetAddress senderAddress = new InternetAddress("noreply@profitmandi.com", "ProfitMandi Admin");
220
    	helper.setTo("help@profitmandi.com");
221
    	helper.setTo("help@profitmandi.com");
221
    	helper.setFrom(senderAddress);
222
    	helper.setFrom(senderAddress);
222
    	for (File file : attachments) {
223
    	for (File file : attachments) {
223
    		helper.addAttachment(file.getName(), file);
224
    		helper.addAttachment(file.getName(), file);