Subversion Repositories SmartDukaan

Rev

Rev 36613 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36613 Rev 36936
Line 553... Line 553...
553
            sendTo.addAll(salesL3Users.stream().map(AuthUser::getEmailId).collect(Collectors.toList()));
553
            sendTo.addAll(salesL3Users.stream().map(AuthUser::getEmailId).collect(Collectors.toList()));
554
        }
554
        }
555
 
555
 
556
        if (!sendTo.isEmpty()) {
556
        if (!sendTo.isEmpty()) {
557
            String[] emailArray = sendTo.toArray(new String[0]);
557
            String[] emailArray = sendTo.toArray(new String[0]);
558
            String[] bccArray = {"tarun.verma@smartdukaan.com", "aman.gupta@smartdukaan.com"};
558
            String[] bccArray = {"tarun.verma@smartdukaan.com"};
559
            Utils.sendMailWithAttachments(gmailRelaySender, emailArray, null, bccArray, subject, sb.toString(), true);
559
            Utils.sendMailWithAttachments(gmailRelaySender, emailArray, null, bccArray, subject, sb.toString(), true);
560
            LOGGER.info("First PO approval email sent for fofoId: {} transactionId: {}", fofoStore.getId(), transactionId);
560
            LOGGER.info("First PO approval email sent for fofoId: {} transactionId: {}", fofoStore.getId(), transactionId);
561
        }
561
        }
562
    }
562
    }
563
 
563