Subversion Repositories SmartDukaan

Rev

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

Rev 9530 Rev 9531
Line 834... Line 834...
834
			} catch (MessagingException e) {
834
			} catch (MessagingException e) {
835
				e.printStackTrace();
835
				e.printStackTrace();
836
			}
836
			}
837
			 */
837
			 */
838
			try {
838
			try {
839
				mailer.sendSSLMessage(sendTo,"Snapdeal Inventory Feed Updates sent for " +iterator+" items "+ sdf.format(System.currentTimeMillis()),"No change in Snapdea Inventory to be sent ", emailFromAddress, password, new ArrayList<File>());
839
				mailer.sendSSLMessage(sendTo,"Snapdeal Inventory Updates sent for " +iterator+" items "+ sdf.format(System.currentTimeMillis()),"Snapdeal inventory feed sent successfully ", emailFromAddress, password, new ArrayList<File>());
840
			} catch (MessagingException e) {
840
			} catch (MessagingException e) {
841
				e.printStackTrace();
841
				e.printStackTrace();
842
			}
842
			}
843
		
843
		
844
		}
844
		}
845
		else{
845
		else{
846
			try {
846
			try {
847
				mailer.sendSSLMessage(sendTo,"Snapdeal Inventory (No changes in inventory to update)"+ sdf.format(System.currentTimeMillis()),"No change in Snapdea Inventory to be sent ", emailFromAddress, password, new ArrayList<File>());
847
				mailer.sendSSLMessage(sendTo,"No changes in Snapdeal inventory to update)"+ sdf.format(System.currentTimeMillis()),"No change in Snapdeal Inventory to be updated ", emailFromAddress, password, new ArrayList<File>());
848
			} catch (MessagingException e) {
848
			} catch (MessagingException e) {
849
				e.printStackTrace();
849
				e.printStackTrace();
850
			}
850
			}
851
		}
851
		}
852
 
852