#1075 Mail sender - allow to turn off TLS for port 25

This commit is contained in:
ljacqu
2017-02-26 14:12:51 +01:00
parent a2b8ca683d
commit a847deac16
5 changed files with 42 additions and 26 deletions
@@ -19,6 +19,10 @@ public class EmailSettings implements SettingsHolder {
public static final Property<Integer> SMTP_PORT =
newProperty("Email.mailPort", 465);
@Comment("Only affects port 25: enable TLS/STARTTLS?")
public static final Property<Boolean> PORT25_USE_TLS =
newProperty("Email.useTls", true);
@Comment("Email account which sends the mails")
public static final Property<String> MAIL_ACCOUNT =
newProperty("Email.mailAccount", "");