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:
parent
041a8fb164
commit
a2ef02f331
|
@ -792,9 +792,9 @@ public class ExchangeSession {
|
||||||
if (bccBuffer.length() > 0) {
|
if (bccBuffer.length() > 0) {
|
||||||
bccBuffer.append(',');
|
bccBuffer.append(',');
|
||||||
}
|
}
|
||||||
bccBuffer.append("<");
|
bccBuffer.append('<');
|
||||||
bccBuffer.append(recipient);
|
bccBuffer.append(recipient);
|
||||||
bccBuffer.append(">");
|
bccBuffer.append('>');
|
||||||
}
|
}
|
||||||
|
|
||||||
String bcc = bccBuffer.toString();
|
String bcc = bccBuffer.toString();
|
||||||
|
@ -1479,8 +1479,8 @@ public class ExchangeSession {
|
||||||
}
|
}
|
||||||
if ("ORGANIZER".equals(key)) {
|
if ("ORGANIZER".equals(key)) {
|
||||||
organizer = value;
|
organizer = value;
|
||||||
// exclude current user from recipients
|
// exclude current user and invalid values from recipients
|
||||||
} else if (!email.equalsIgnoreCase(value)) {
|
} else if (!email.equalsIgnoreCase(value) && value.indexOf('@') >=0) {
|
||||||
attendees.add(value);
|
attendees.add(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue