Dav: set contact email type to SMTP

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1896 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2012-02-02 22:39:04 +00:00
parent b456e760bd
commit 4c00d1da2d
1 changed files with 3 additions and 0 deletions

View File

@ -1131,6 +1131,9 @@ public class DavExchangeSession extends ExchangeSession {
String key = entry.getKey();
if (!"photo".equals(key)) {
propertyValues.add(Field.createPropertyValue(key, entry.getValue()));
if (key.startsWith("email")) {
propertyValues.add(Field.createPropertyValue(key+"type", "SMTP"));
}
}
}