get message debug
parent
be11b1e01c
commit
5a6179ed6e
|
@ -140,14 +140,14 @@ namespace OpenSim.Modules.EMail
|
|||
m_log.Info("[" + Name + "] Connect SSL");
|
||||
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");
|
||||
client.Connect(IMAP_SERVER_HOSTNAME, IMAP_SERVER_PORT, SecureSocketOptions.StartTlsWhenAvailable);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
m_log.Info("[" + Name + "] Connect None");
|
||||
client.Connect(IMAP_SERVER_HOSTNAME, IMAP_SERVER_PORT, SecureSocketOptions.None);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue