|
@@ -352,7 +352,7 @@ public class EmailUtil {
|
|
|
properties.put("mail.smtp.host", mailboxInfoDTO.getHost());
|
|
|
properties.put("mail.smtp.auth", true);
|
|
|
properties.setProperty("mail.smtp.port", mailboxInfoDTO.getPort());
|
|
|
- if (mailboxInfoDTO.getCompetitionId() == null || mailboxInfoDTO.getCompetitionId() != 48) {
|
|
|
+ if (mailboxInfoDTO.getCompetitionId() == null || mailboxInfoDTO.getCompetitionId() == 48) {
|
|
|
properties.put("mail.smtp.ssl.enable", false);
|
|
|
properties.put("mail.smtp.ssl.required", false);
|
|
|
} else {
|