at install dialog, input email info (user, password) and click test or save test mail process issue message: "DB.getDatabase: No Database Connection" and test for sent email will always fail
reason: sent email read some configuration from database like MAIL_SEND_BCC_TO_FROM. but database is not finish yet configuration
solution: add flag isTestEmail to Email class to distinguish case test email when install
For GMAIL you also have to enable IMAP - https://support.google.com/mail/troubleshooter/1668960?hl=en Then it works, you get an email in your mailbox, and the log shows: testPort[74.125.68.108, 587] testPort[74.125.68.108, 995] testPort[74.125.68.108, 993] 06:27:14.311 EMail.send: (smtp.gmail.com) red1org@gmail.com -> [red1org@gmail.com] [44] 06:27:14.312 EMail.send: (m_auth) EMailAuthenticator[red1org@gmail.com/************] [44] 06:27:20.283 ConfigurationData.testMailServer: OK: Send Test Email to red1org@gmail.com [44] 06:27:28.931 ConfigurationData.testMailServer: OK: Mail Connect to INBOX #Msg=10078 [44] 06:27:32.438 ConfigurationData.testMail: OK: EMail = red1org@gmail.com [44]
at install dialog, input email info (user, password) and click test or save
test mail process issue message:
"DB.getDatabase: No Database Connection"
and test for sent email will always fail
reason: sent email read some configuration from database like MAIL_SEND_BCC_TO_FROM.
but database is not finish yet configuration
solution: add flag isTestEmail to Email class to distinguish case test email when install