diff --git a/NEWS b/NEWS index b4eaa1c44..54fc8a8b0 100644 --- a/NEWS +++ b/NEWS @@ -34,6 +34,7 @@ Bug fixes - [web] fixed saving of notification email for calendar changes (#3522) - [web] fixed ACL editor for authenticated users in Mail module - [web] fixed fab button position in Calendar module (#3462) + - [web] fixed default priority of sent messages (#3542) - [eas] allow EAS attachments get on 2nd-level mailboxes (#3505) - [eas] fix EAS bday shift (#3518) diff --git a/SoObjects/Mailer/SOGoDraftObject.m b/SoObjects/Mailer/SOGoDraftObject.m index 2b81b560e..1b0f7ac19 100644 --- a/SoObjects/Mailer/SOGoDraftObject.m +++ b/SoObjects/Mailer/SOGoDraftObject.m @@ -306,7 +306,7 @@ static NSString *userAgent = nil; { // newHeaders come from Web form; convert priority to MIME header representation priority = [newHeaders objectForKey: @"priority"]; - if (!priority || [priority intValue] == 3) + if (!priority || ![priority length] || [priority intValue] == 3) { [headers removeObjectForKey: @"X-Priority"]; }