Subversion Repositories SmartDukaan

Rev

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

Rev 36024 Rev 36064
Line 528... Line 528...
528
            sendTo.addAll(salesL3Users.stream().map(AuthUser::getEmailId).collect(Collectors.toList()));
528
            sendTo.addAll(salesL3Users.stream().map(AuthUser::getEmailId).collect(Collectors.toList()));
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
            Utils.sendMailWithAttachments(mailSender, emailArray, null, subject, sb.toString());
534
            Utils.sendMailWithAttachments(mailSender, emailArray, null, bccArray, subject, sb.toString());
534
            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);
535
        }
536
        }
536
    }
537
    }
537
 
538
 
538
}
539
}