Subversion Repositories SmartDukaan

Rev

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

Rev 36262 Rev 36399
Line 113... Line 113...
113
 
113
 
114
    @Autowired
114
    @Autowired
115
    FofoStoreRepository fofoStoreRepository;
115
    FofoStoreRepository fofoStoreRepository;
116
 
116
 
117
    @Autowired
117
    @Autowired
118
    JavaMailSender mailSender;
118
    JavaMailSender gmailRelaySender;
119
 
119
 
120
    @Autowired
120
    @Autowired
121
    com.spice.profitmandi.service.user.StoreTimelineTatService storeTimelineTatService;
121
    com.spice.profitmandi.service.user.StoreTimelineTatService storeTimelineTatService;
122
 
122
 
123
    @Autowired
123
    @Autowired
Line 529... Line 529...
529
        }
529
        }
530
 
530
 
531
        if (!sendTo.isEmpty()) {
531
        if (!sendTo.isEmpty()) {
532
            String[] emailArray = sendTo.toArray(new String[0]);
532
            String[] emailArray = sendTo.toArray(new String[0]);
533
            String[] bccArray = {"tarun.verma@smartdukaan.com", "aman.gupta@smartdukaan.com"};
533
            String[] bccArray = {"tarun.verma@smartdukaan.com", "aman.gupta@smartdukaan.com"};
534
            Utils.sendMailWithAttachments(mailSender, emailArray, null, bccArray, subject, sb.toString(), true);
534
            Utils.sendMailWithAttachments(gmailRelaySender, emailArray, null, bccArray, subject, sb.toString(), true);
535
            LOGGER.info("First PO approval email sent for fofoId: {} transactionId: {}", fofoStore.getId(), transactionId);
535
            LOGGER.info("First PO approval email sent for fofoId: {} transactionId: {}", fofoStore.getId(), transactionId);
536
        }
536
        }
537
    }
537
    }
538
 
538
 
539
}
539
}