Commit 3adfe952 authored by Mickaël Guessant's avatar Mickaël Guessant

DAV: Another email address failover

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2302 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 54aaa124
......@@ -640,6 +640,9 @@ public class DavExchangeSession extends ExchangeSession {
buffer.append(alias);
if (alias.indexOf('@') < 0) {
buffer.append('@');
if (hostName == null) {
hostName = "mail.unknown.com";
}
int dotIndex = hostName.indexOf('.');
if (dotIndex >= 0) {
buffer.append(hostName.substring(dotIndex + 1));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment