Caldav: exclude invalid attendees address from recipient list

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@532 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-04-17 10:49:04 +00:00
parent 041a8fb164
commit a2ef02f331
1 changed files with 4 additions and 4 deletions

View File

@ -792,9 +792,9 @@ public class ExchangeSession {
if (bccBuffer.length() > 0) {
bccBuffer.append(',');
}
bccBuffer.append("<");
bccBuffer.append('<');
bccBuffer.append(recipient);
bccBuffer.append(">");
bccBuffer.append('>');
}
String bcc = bccBuffer.toString();
@ -1479,8 +1479,8 @@ public class ExchangeSession {
}
if ("ORGANIZER".equals(key)) {
organizer = value;
// exclude current user from recipients
} else if (!email.equalsIgnoreCase(value)) {
// exclude current user and invalid values from recipients
} else if (!email.equalsIgnoreCase(value) && value.indexOf('@') >=0) {
attendees.add(value);
}
}