diff --git a/ActiveSync/SOGoMailObject+ActiveSync.m b/ActiveSync/SOGoMailObject+ActiveSync.m
index 13f643fe2..c120345bd 100644
--- a/ActiveSync/SOGoMailObject+ActiveSync.m
+++ b/ActiveSync/SOGoMailObject+ActiveSync.m
@@ -1260,7 +1260,7 @@ struct GlobalObjectId {
{
if ([[value objectForKey: @"bodyId"] length])
{
- [s appendFormat: @"%@", [[value objectForKey: @"bodyId"] activeSyncRepresentationInContext: context]];
+ [s appendFormat: @"%@", [[[value objectForKey: @"bodyId"] stringByTrimmingCharactersInSet: [NSCharacterSet characterSetWithCharactersInString: @"<>"]] activeSyncRepresentationInContext: context]];
[s appendFormat: @"%d", 1];
}
diff --git a/NEWS b/NEWS
index 06c43a5b6..42d78bc54 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ Bug fixes
- [web] fixed folder export when XSRF validation is enabled (#4502)
- [web] don't encode filename extension when exporting folders
- [core] don't always fetch the sorting columns
+ - [eas] strip '<>' from bodyId and when forwarding mails
4.0.4 (2018-10-23)
------------------