This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Class MailConfiguration{ | |
public static String userName; | |
public static String password; | |
public static String emailService; | |
} | |
public Class MailInit{ | |
public void initialConfiguration(String userName, String password, String emailService ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Class MailConfiguration{ | |
public static String userName; | |
public static String password; | |
public static EmailServiceProvider emailService; | |
} | |
public Class MailInit{ | |
public void initialConfiguration(String userName, String password, String emailService ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Class MailConfiguration{ | |
public static String userName; | |
public static String password; | |
public static EmailServiceProvider emailService; | |
} | |
public Class MailInit{ | |
public void initialConfiguration(String userName, String password, String emailService ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Class MailClient{ | |
String emailServiceProvider; | |
String username; | |
String password; | |
public void initialConfiguration(String emailServiceProvider, String userName, String password){ | |
this.emailServiceProvider = emailServiceProvider; // value google, yahoo | |
this.userName = userName; // account username | |
this.password = password; // account password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Class Account { | |
String accountService = null; | |
EmailService emailService = null; | |
public setAccountEmailProviderName(accountEmailProvider){ | |
this.accountService = accountEmailProvider; | |
} | |
public void setupAccount(){ |