Use fully qualified localhost

pull/146/head
M66B 6 years ago
parent dc7b37fb7c
commit 4dbc938cda

@ -1464,6 +1464,7 @@ public class ServiceSynchronize extends LifecycleService {
// Create session // Create session
Properties props = MessageHelper.getSessionProperties(ident.auth_type, ident.insecure); Properties props = MessageHelper.getSessionProperties(ident.auth_type, ident.insecure);
props.put("mail.smtp.localhost", "localhost.localdomain.");
final Session isession = Session.getInstance(props, null); final Session isession = Session.getInstance(props, null);
// Create message // Create message

Loading…
Cancel
Save