Subversion Repositories SmartDukaan

Rev

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

Rev 9778 Rev 9797
Line 312... Line 312...
312
					}
312
					}
313
					e.printStackTrace();
313
					e.printStackTrace();
314
				}
314
				}
315
				try {
315
				try {
316
					System.out.println("Snapdeal Item Prices updated Successfully");
316
					System.out.println("Snapdeal Item Prices updated Successfully");
-
 
317
					if(updatedSkuList.size()==1){
-
 
318
						mailer.sendSSLMessage(sendTo,updatedSkuList.size()+" Snapdeal Item Price updated Successfully "+ sdf.format(System.currentTimeMillis()),"Snapdeal Item Price updated Successfully ", emailFromAddress, password, new ArrayList<File>());
-
 
319
					}
-
 
320
					else{
317
					mailer.sendSSLMessage(sendTo,updatedSkuList.size()+" Snapdeal Items Price updated Successfully "+ sdf.format(System.currentTimeMillis()),"All Snapdeal Item Prices updated Successfully ", emailFromAddress, password, new ArrayList<File>());
321
						mailer.sendSSLMessage(sendTo,updatedSkuList.size()+" Snapdeal Items Price updated Successfully "+ sdf.format(System.currentTimeMillis()),"All Snapdeal Item Prices updated Successfully ", emailFromAddress, password, new ArrayList<File>());						
-
 
322
					}
318
				} catch (MessagingException e) {
323
				} catch (MessagingException e) {
319
					e.printStackTrace();
324
					e.printStackTrace();
320
				}
325
				}
321
			}
326
			}
322
		}
327
		}