1 3 package jodd.mail; 4 5 13 public class SmtpServer { 14 15 17 20 public SmtpServer() { 21 } 22 23 28 public SmtpServer(String host) { 29 this.host = host; 30 } 31 32 37 public SmtpServer(String host, String username, String password) { 38 this.host = host; 39 this.username = username; 40 this.password = password; 41 } 42 43 45 private String host; 46 51 public void setHost(String host) { 52 this.host = host; 53 } 54 59 public String getHost() { 60 return host; 61 } 62 63 64 private String username; 65 71 public void setUsername(String username) { 72 this.username = username; 73 } 74 79 public String getUsername() { 80 return username; 81 } 82 83 84 private String password; 85 90 public void setPassword(String password) { 91 this.password = password; 92 } 93 98 public String getPassword() { 99 return password; 100 } 101 102 } 103 | Popular Tags |