Subversion Repositories SmartDukaan

Rev

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

Rev 9528 Rev 9530
Line 832... Line 832...
832
			try {
832
			try {
833
				mailer.sendSSLMessage(sendTo,"Inventory File",feedresponse, emailFromAddress, password, files);
833
				mailer.sendSSLMessage(sendTo,"Inventory File",feedresponse, emailFromAddress, password, files);
834
			} catch (MessagingException e) {
834
			} catch (MessagingException e) {
835
				e.printStackTrace();
835
				e.printStackTrace();
836
			}
836
			}
837
			 */		}
837
			 */
-
 
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>());
-
 
840
			} catch (MessagingException e) {
-
 
841
				e.printStackTrace();
-
 
842
			}
-
 
843
		
-
 
844
		}
838
		else{
845
		else{
839
			try {
846
			try {
840
				mailer.sendSSLMessage(sendTo,"Snapdeal Inventory (No change to update)"+ sdf.format(System.currentTimeMillis()),"No change in Snapdea Inventory to be sent ", emailFromAddress, password, new ArrayList<File>());
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>());
841
			} catch (MessagingException e) {
848
			} catch (MessagingException e) {
842
				e.printStackTrace();
849
				e.printStackTrace();
843
			}
850
			}
844
		}
851
		}
845
 
852