Subversion Repositories SmartDukaan

Rev

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

Rev 9495 Rev 9496
Line 813... Line 813...
813
				mailer.sendSSLMessage(sendTo, emailSubjectTxt, text, emailFromAddress, password, new ArrayList<File>());
813
				mailer.sendSSLMessage(sendTo, emailSubjectTxt, text, emailFromAddress, password, new ArrayList<File>());
814
			} catch (MessagingException e) {
814
			} catch (MessagingException e) {
815
				e.printStackTrace();
815
				e.printStackTrace();
816
			}
816
			}
817
		}
817
		}
818
		emailSubjectTxt = "Products out of stock on Snapdeal "+sdf.format(cal.getTime());
818
		emailSubjectTxt = "Products out of stock on Snapdeal "+sdf.format(lastSentInventoryTime);
819
		text = outOfStockItems.toString();
819
		text = outOfStockItems.toString();
820
		if(text.length() > 0){
820
		if(text.length() > 0){
821
			try {
821
			try {
822
				mailer.sendSSLMessage(sendTo, emailSubjectTxt, text, emailFromAddress, password, new ArrayList<File>());
822
				mailer.sendSSLMessage(sendTo, emailSubjectTxt, text, emailFromAddress, password, new ArrayList<File>());
823
			} catch (MessagingException e) {
823
			} catch (MessagingException e) {