mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-15 13:55:09 -05:00
DAV: Another email address failover
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2302 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
1226796b99
commit
2cb098132f
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user