fix(core): always set the charset when sending IMIP replies

feature/mail-identities
Ludovic Marcotte 2020-06-12 08:42:00 -04:00
parent 40d8e72c74
commit 6ec002f023
4 changed files with 5 additions and 8 deletions

View File

@ -1,8 +1,6 @@
/* SOGoAptMailICalReply.h - this file is part of SOGo
*
* Copyright (C) 2007 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Copyright (C) 2007-2020 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,8 +1,6 @@
/* SOGoAptMailICalReply - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Copyright (C) 2010-2020 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2006-2019 Inverse inc.
Copyright (C) 2006-2020 Inverse inc.
Copyright (C) 2000-2005 SKYRIX Software AG
This file is part of SOGo.

View File

@ -981,7 +981,8 @@
[headerMap setObject: @"1.0" forKey: @"MIME-Version"];
if (textOnly)
[headerMap setObject: @"text/html" forKey: @"content-type"];
[headerMap setObject: @"text/html; charset=utf-8"
forKey: @"content-type"];
else
[headerMap setObject: @"multipart/mixed" forKey: @"content-type"];