Subversion Repositories SmartDukaan

Rev

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

Rev 8184 Rev 8185
Line 72... Line 72...
72
				if(warehouse.getVendor().getId()==1L||warehouse.getVendor().getId()==38L||warehouse.getVendor().getId()==64L) {
72
				if(warehouse.getVendor().getId()==1L||warehouse.getVendor().getId()==38L||warehouse.getVendor().getId()==64L) {
73
					warehouseMap.put(warehouse.getId(), warehouse);
73
					warehouseMap.put(warehouse.getId(), warehouse);
74
				}
74
				}
75
			}
75
			}
76
		} catch (TException e) {
76
		} catch (TException e) {
77
 
-
 
-
 
77
			e.printStackTrace();
78
		}
78
		}
79
		
79
		
80
	}
80
	}
81
	
81
	
82
	public static void main(String[] args){
82
	public static void main(String[] args){
Line 89... Line 89...
89
			
89
			
90
			//files.add(hotspotStockInWarehouseFile);
90
			//files.add(hotspotStockInWarehouseFile);
91
			files.add(hotspotStockRetInTransitFile);
91
			files.add(hotspotStockRetInTransitFile);
92
			files.add(undeliveredHotspotStockFile);
92
			files.add(undeliveredHotspotStockFile);
93
		} catch (Exception e) {
93
		} catch (Exception e) {
94
			
94
			e.printStackTrace();
95
		}
95
		}
96
		
96
		
97
		GmailUtils mailer = new GmailUtils();
97
		GmailUtils mailer = new GmailUtils();
98
		try{
98
		try{
99
			mailer.sendSSLMessage(mailTo, "Undelivered Hotspot Stock(Billed by Saholic) IMEI details ", "", senderAccountMail, senderAccountPswd, files);
99
			mailer.sendSSLMessage(mailTo, "Undelivered Hotspot Stock(Billed by Saholic) IMEI details ", "", senderAccountMail, senderAccountPswd, files);