get message debug

master
Christopher 2020-06-30 17:25:32 +02:00
parent be11b1e01c
commit 5a6179ed6e
1 changed files with 2 additions and 2 deletions

View File

@ -140,14 +140,14 @@ namespace OpenSim.Modules.EMail
m_log.Info("[" + Name + "] Connect SSL"); m_log.Info("[" + Name + "] Connect SSL");
client.Connect(IMAP_SERVER_HOSTNAME, IMAP_SERVER_PORT, SecureSocketOptions.Auto); client.Connect(IMAP_SERVER_HOSTNAME, IMAP_SERVER_PORT, SecureSocketOptions.Auto);
} }
else if (IMAP_SERVER_SSL == true) else if (IMAP_SERVER_TLS == true)
{ {
m_log.Info("[" + Name + "] Connect TLS"); m_log.Info("[" + Name + "] Connect TLS");
client.Connect(IMAP_SERVER_HOSTNAME, IMAP_SERVER_PORT, SecureSocketOptions.StartTlsWhenAvailable); client.Connect(IMAP_SERVER_HOSTNAME, IMAP_SERVER_PORT, SecureSocketOptions.StartTlsWhenAvailable);
} }
else else
{ {
m_log.Info("[" + Name + "] Connect None");
client.Connect(IMAP_SERVER_HOSTNAME, IMAP_SERVER_PORT, SecureSocketOptions.None); client.Connect(IMAP_SERVER_HOSTNAME, IMAP_SERVER_PORT, SecureSocketOptions.None);
} }