Subversion Repositories SmartDukaan

Rev

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

Rev 8285 Rev 8288
Line 34... Line 34...
34
 
34
 
35
import au.com.bytecode.opencsv.CSVReader;
35
import au.com.bytecode.opencsv.CSVReader;
36
 
36
 
37
 
37
 
38
public class CreateSendFBAStockEstimation {
38
public class CreateSendFBAStockEstimation {
39
	final public static String AMAZON_FBA_SHEET = "/home/vikram/Desktop/FBA-Stock-File.xls";
39
	final public static String AMAZON_FBA_SHEET = "/home/FBA-Stock-File.xls";
40
	
40
	
41
	public static void main(){
41
	public static void main(String... args){
42
		TransactionClient transactionServiceClient = null;
42
		TransactionClient transactionServiceClient = null;
43
		try {
43
		try {
44
			transactionServiceClient = new TransactionClient();
44
			transactionServiceClient = new TransactionClient();
45
		} catch (Exception e) {
45
		} catch (Exception e) {
46
			// TODO Auto-generated catch block
46
			// TODO Auto-generated catch block
Line 225... Line 225...
225
		String password = "cafe@nes";
225
		String password = "cafe@nes";
226
		String[] sendTo = new String[]{ "vikram.raghav@shop2020.in", "kshitij.sood@shop2020.in" };
226
		String[] sendTo = new String[]{ "vikram.raghav@shop2020.in", "kshitij.sood@shop2020.in" };
227
		String emailSubjectTxt = "FBA Stock Estimation Sheet ";
227
		String emailSubjectTxt = "FBA Stock Estimation Sheet ";
228
		GmailUtils mailer = new GmailUtils();
228
		GmailUtils mailer = new GmailUtils();
229
		try {
229
		try {
230
			mailer.sendSSLMessage(sendTo, emailSubjectTxt, "", emailFromAddress, password, "/home/amazon/FBA-Stock-File.xls");
230
			mailer.sendSSLMessage(sendTo, emailSubjectTxt, "", emailFromAddress, password, "/home/FBA-Stock-File.xls");
231
		}
231
		}
232
		catch (Exception ex) {
232
		catch (Exception ex) {
233
			ex.printStackTrace();
233
			ex.printStackTrace();
234
		}
234
		}
235
 
235