PageRenderTime 40ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/src/mpv5/mail/MailConfiguration.java

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
Java | 99 lines | 45 code | 14 blank | 40 comment | 0 complexity | 9ebe37bc19cf2fab244d8dd061c56a64 MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  1. package mpv5.mail;
  2. /**
  3. *
  4. * @author anti
  5. */
  6. public class MailConfiguration {
  7. private String smtpHost;
  8. private String username;
  9. private String password;
  10. private String senderAddress;
  11. private boolean useTls;
  12. private boolean useSmtps;
  13. /**
  14. * @return the smtpHost
  15. */
  16. public String getSmtpHost() {
  17. return smtpHost;
  18. }
  19. /**
  20. * @param smtpHost the smtpHost to set
  21. */
  22. public void setSmtpHost(String smtpHost) {
  23. this.smtpHost = smtpHost;
  24. }
  25. /**
  26. * @return the username
  27. */
  28. public String getUsername() {
  29. return username;
  30. }
  31. /**
  32. * @param username the username to set
  33. */
  34. public void setUsername(String username) {
  35. this.username = username;
  36. }
  37. /**
  38. * @return the password
  39. */
  40. public String getPassword() {
  41. return password;
  42. }
  43. /**
  44. * @param password the password to set
  45. */
  46. public void setPassword(String password) {
  47. this.password = password;
  48. }
  49. /**
  50. * @return the senderAddress
  51. */
  52. public String getSenderAddress() {
  53. return senderAddress;
  54. }
  55. /**
  56. * @param senderAddress the senderAddress to set
  57. */
  58. public void setSenderAddress(String senderAddress) {
  59. this.senderAddress = senderAddress;
  60. }
  61. /**
  62. * @return the useTls
  63. */
  64. public boolean isUseTls() {
  65. return useTls;
  66. }
  67. /**
  68. * @param useTls the useTls to set
  69. */
  70. public void setUseTls(boolean useTls) {
  71. this.useTls = useTls;
  72. }
  73. /**
  74. * @return the useSmtps
  75. */
  76. public boolean isUseSmtps() {
  77. return useSmtps;
  78. }
  79. /**
  80. * @param useSmtps the useSmtps to set
  81. */
  82. public void setUseSmtps(boolean useSmtps) {
  83. this.useSmtps = useSmtps;
  84. }
  85. }