diff -up evolution-ews-3.8.5/src/calendar/e-cal-backend-ews-utils.c.create-appointments evolution-ews-3.8.5/src/calendar/e-cal-backend-ews-utils.c
--- evolution-ews-3.8.5/src/calendar/e-cal-backend-ews-utils.c.create-appointments 2013-08-11 13:42:31.000000000 +0200
+++ evolution-ews-3.8.5/src/calendar/e-cal-backend-ews-utils.c 2013-08-16 11:52:53.790798070 +0200
@@ -65,8 +65,16 @@ e_ews_collect_attendees (icalcomponent *
prop = icalcomponent_get_next_property (comp, ICAL_ATTENDEE_PROPERTY)) {
str = icalproperty_get_attendee (prop);
+
+ if (!str || !*str)
+ continue;
+
/* figure the email address of the attendee, discard "mailto:" if it's there */
- if (!g_ascii_strncasecmp (str, "mailto:", 7)) str = (str) + 7;
+ if (!g_ascii_strncasecmp (str, "mailto:", 7))
+ str = (str) + 7;
+
+ if (!*str)
+ continue;
/* if this attenddee is the orgenizer - dont add him/her
in some cases there is no maito for email if meeting orginazer */
@@ -756,6 +764,9 @@ e_ews_collect_organizer (icalcomponent *
else
org_email_address = org;
+ if (org_email_address && !*org_email_address)
+ org_email_address = NULL;
+
return org_email_address;
}