| Line 409... |
Line 409... |
| 409 |
}
|
409 |
}
|
| 410 |
System.out.println("Before sending email");
|
410 |
System.out.println("Before sending email");
|
| 411 |
if(feedResponse.toString().length()>0){
|
411 |
if(feedResponse.toString().length()>0){
|
| 412 |
try {
|
412 |
try {
|
| 413 |
mailer.sendSSLMessage(sendTo, "Flipkart Inventory could not be updated " + sdf.format(System.currentTimeMillis()), feedResponse.toString(), emailFromAddress, password,new ArrayList<File>());
|
413 |
mailer.sendSSLMessage(sendTo, "Flipkart Inventory could not be updated " + sdf.format(System.currentTimeMillis()), feedResponse.toString(), emailFromAddress, password,new ArrayList<File>());
|
| 414 |
} catch (MessagingException e) {
|
414 |
} catch (Exception e) {
|
| 415 |
emailFromAddress = alternateEmailFromAddress;
|
415 |
emailFromAddress = alternateEmailFromAddress;
|
| 416 |
password = alternateEmailPassword;
|
416 |
password = alternateEmailPassword;
|
| 417 |
try {
|
417 |
try {
|
| 418 |
mailer.sendSSLMessage(sendTo, "Flipkart Inventory could not be updated " + sdf.format(System.currentTimeMillis()), feedResponse.toString(), emailFromAddress, password,new ArrayList<File>());
|
418 |
mailer.sendSSLMessage(sendTo, "Flipkart Inventory could not be updated " + sdf.format(System.currentTimeMillis()), feedResponse.toString(), emailFromAddress, password,new ArrayList<File>());
|
| 419 |
} catch (MessagingException e1) {
|
419 |
} catch (MessagingException e1) {
|