mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-07 03:38:05 -05:00
Small failover fix
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1777 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
d5f85ef7a1
commit
e669bd7c8d
@ -629,7 +629,11 @@ public class DavExchangeSession extends ExchangeSession {
|
|||||||
// last failover: build email from domain name and mailbox display name
|
// last failover: build email from domain name and mailbox display name
|
||||||
StringBuilder buffer = new StringBuilder();
|
StringBuilder buffer = new StringBuilder();
|
||||||
// most reliable alias
|
// most reliable alias
|
||||||
alias = mailBoxPath;
|
if (mailBoxPath != null) {
|
||||||
|
alias = mailBoxPath;
|
||||||
|
} else {
|
||||||
|
alias = getAliasFromLogin();
|
||||||
|
}
|
||||||
buffer.append(alias);
|
buffer.append(alias);
|
||||||
if (alias.indexOf('@') < 0) {
|
if (alias.indexOf('@') < 0) {
|
||||||
buffer.append('@');
|
buffer.append('@');
|
||||||
|
Loading…
Reference in New Issue
Block a user