Subversion Repositories SmartDukaan

Rev

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

Rev 13611 Rev 13612
Line 289... Line 289...
289
				System.out.println("Values are updated");
289
				System.out.println("Values are updated");
290
			}
290
			}
291
 
291
 
292
		}
292
		}
293
		catch(Exception e){
293
		catch(Exception e){
-
 
294
			e.printStackTrace();
294
			String[] sendTo = new String[] { "manish.sharma@shop2020.in","kshitij.sood@shop2020.in","amit.gupta@shop2020.in","anikendra.das@shop2020.in"};
295
			String[] sendTo = new String[] { "manish.sharma@shop2020.in","kshitij.sood@shop2020.in","amit.gupta@shop2020.in","anikendra.das@shop2020.in"};
295
			String emailSubjectTxt = "Error while generating Flipkart Sale Snapshot";
296
			String emailSubjectTxt = "Error while generating Flipkart Sale Snapshot";
296
			String message = "Run FlipkartFaSaleSnapshotGetter in Common Project. \nSend all Flipkart Reports Again. \nJobs are configured at Support-backup Machine";
297
			String message = "Run FlipkartFaSaleSnapshotGetter in Common Project. \nSend all Flipkart Reports Again. \nJobs are configured at Support-backup Machine";
297
			try {
298
			try {
298
				GmailUtils mailer = new GmailUtils();
299
				GmailUtils mailer = new GmailUtils();
299
				mailer.sendSSLMessage(sendTo, emailSubjectTxt, message, "build-staging@shop2020.in", "shop2020", new ArrayList<File>());
300
				//mailer.sendSSLMessage(sendTo, emailSubjectTxt, message, "build-staging@shop2020.in", "shop2020", new ArrayList<File>());
300
			} catch (Exception ex) {
301
			} catch (Exception ex) {
301
				ex.printStackTrace();
302
				ex.printStackTrace();
302
 
303
 
303
			}
304
			}
304
		}
305
		}