Use app ID for HELO

Some servers reject their own host name
This commit is contained in:
M66B 2019-11-08 08:26:42 +01:00
parent e396642464
commit 5bde34c2a4
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ public class MailService implements AutoCloseable {
}
} else if ("smtp".equals(protocol) || "smtps".equals(protocol)) {
String haddr = host;
String haddr = BuildConfig.APPLICATION_ID;
if (useip)
try {