Subversion Repositories SmartDukaan

Rev

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

Rev 11307 Rev 13016
Line 28... Line 28...
28
 
28
 
29
public class EmailUtils {
29
public class EmailUtils {
30
	public static void main(String... args) throws IOException, MessagingException{
30
	public static void main(String... args) throws IOException, MessagingException{
31
 
31
 
32
		System.out.println("Test Email Start");
32
		System.out.println("Test Email Start");
33
		String[] sendTo = { "vikram.raghav@shop2020.in"};
33
		String[] sendTo = { "manish.sharma@shop2020.in"};
34
		EmailUtils emailUtils = new EmailUtils();
34
		EmailUtils emailUtils = new EmailUtils();
35
		//emailUtils.sendEmail(sendTo,"------DONT PANIC--------TEST EMAIL--------","FBA Sale ","build@shop2020.in","/home/Mobiles-Tablets-FBA-Sale.xls","/home/Mobiles-Tablets-FBA-body.html");
35
		//emailUtils.sendEmail(sendTo,"------DONT PANIC--------TEST EMAIL--------","FBA Sale ","build@shop2020.in","/home/Mobiles-Tablets-FBA-Sale.xls","/home/Mobiles-Tablets-FBA-body.html");
36
		String emailFromAddress = "build@shop2020.in";
36
		String emailFromAddress = "build@shop2020.in";
37
		sendTo = new String[] {"rajneesh.arora@shop2020.in","chandan.kumar@shop2020.in","khushal.bhatia@shop2020.in","vikram.raghav@shop2020.in"};
37
		sendTo = new String[] {"rajneesh.arora@shop2020.in","chandan.kumar@shop2020.in","khushal.bhatia@shop2020.in","vikram.raghav@shop2020.in"};
38
		String emailSubjectTxt = "FBA Sale (Except Mobiles and Tablets)";
38
		String emailSubjectTxt = "FBA Sale (Except Mobiles and Tablets)";