| Line 661... |
Line 661... |
| 661 |
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
|
661 |
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
|
| 662 |
Calendar cal=GregorianCalendar.getInstance();
|
662 |
Calendar cal=GregorianCalendar.getInstance();
|
| 663 |
String emailFromAddress = "build@shop2020.in";
|
663 |
String emailFromAddress = "build@shop2020.in";
|
| 664 |
String password = "cafe@nes";
|
664 |
String password = "cafe@nes";
|
| 665 |
GmailUtils mailer = new GmailUtils();
|
665 |
GmailUtils mailer = new GmailUtils();
|
| 666 |
String sendTo[] = new String[]{"vikram.raghav@shop2020.in"};
|
666 |
//String sendTo[] = new String[]{"vikram.raghav@shop2020.in"};
|
| 667 |
/*String sendTo[] = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
|
667 |
String sendTo[] = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
|
| 668 |
"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
|
668 |
"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
|
| 669 |
"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in"};
|
669 |
"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in"};
|
| 670 |
*/
|
- |
|
| 671 |
try {
|
670 |
try {
|
| 672 |
logger.info("Before Sending Emails");
|
671 |
logger.info("Before Sending Emails");
|
| 673 |
String ordersProcessingStatus = "Total Orders : " + total_orders +"\n"+
|
672 |
String ordersProcessingStatus = "Total Orders : " + total_orders +"\n"+
|
| 674 |
"Processed Orders : " + orders_processed +"\n"+
|
673 |
"Processed Orders : " + orders_processed +"\n"+
|
| 675 |
"Existing Orders : " + duplicate_orders +"\n"+
|
674 |
"Existing Orders : " + duplicate_orders +"\n"+
|