Subversion Repositories SmartDukaan

Rev

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

Rev 12906 Rev 12969
Line 406... Line 406...
406
                }
406
                }
407
                String emailSubjectTxt="";
407
                String emailSubjectTxt="";
408
                String[] sendTo;
408
                String[] sendTo;
409
                if (Boolean.valueOf(feedProcessingResult.getResult())){
409
                if (Boolean.valueOf(feedProcessingResult.getResult())){
410
                    emailSubjectTxt = "FBG Pricing Feed Success "+sdf.format(cal.getTime());
410
                    emailSubjectTxt = "FBG Pricing Feed Success "+sdf.format(cal.getTime());
411
                    sendTo = new String[]{ "vikram.raghav@shop2020.in", "kshitij.sood@shop2020.in","anikendra.das@shop2020.in"};
411
                    sendTo = new String[]{  "kshitij.sood@shop2020.in","anikendra.das@shop2020.in"};
412
                }
412
                }
413
                else {
413
                else {
414
                    emailSubjectTxt = "FBG Pricing Feed Failure "+sdf.format(cal.getTime());
414
                    emailSubjectTxt = "FBG Pricing Feed Failure "+sdf.format(cal.getTime());
415
                    sendTo = new String[]{ "eng@shop2020.in"};
415
                    sendTo = new String[]{ "eng@shop2020.in"};
416
                }
416
                }
Line 565... Line 565...
565
        }
565
        }
566
 
566
 
567
        if ( messages.size() == 0 ){
567
        if ( messages.size() == 0 ){
568
            System.out.println("No change in FBG Prices");
568
            System.out.println("No change in FBG Prices");
569
            String text = "";
569
            String text = "";
570
            String[] sendTo = {"vikram.raghav@shop2020.in", "kshitij.sood@shop2020.in"};
570
            String[] sendTo = { "kshitij.sood@shop2020.in"};
571
            String emailSubjectTxt = "No change in FBG Prices";
571
            String emailSubjectTxt = "No change in FBG Prices";
572
            String emailFromAddress = "build@shop2020.in";
572
            String emailFromAddress = "build@shop2020.in";
573
            String password = "cafe@nes";
573
            String password = "cafe@nes";
574
            GmailUtils mailer = new GmailUtils();
574
            GmailUtils mailer = new GmailUtils();
575
            try {
575
            try {