lib/kolab_sync_data_email.php
Aleksander Machniak
machniak at kolabsys.com
Tue Mar 12 10:45:53 CET 2013
lib/kolab_sync_data_email.php | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit d71c57e8c3f7fd12d7f0ce311df54beacb8d71d2
Author: Aleksander Machniak <alec at alec.pl>
Date: Tue Mar 12 10:45:21 2013 +0100
Don't send MIME if MimeSupport is not set (Bug #1688)
diff --git a/lib/kolab_sync_data_email.php b/lib/kolab_sync_data_email.php
index 45ac1b9..6959e71 100644
--- a/lib/kolab_sync_data_email.php
+++ b/lib/kolab_sync_data_email.php
@@ -237,13 +237,15 @@ class kolab_sync_data_email extends kolab_sync_data implements Syncroton_Data_ID
}
}
else {
+ // The spec is not very clear, but it looks that if MimeSupport is not set
+ // we can't add Syncroton_Command_Sync::BODY_TYPE_MIME to the supported types
+ // list below (Bug #1688)
$types = array(
- Syncroton_Command_Sync::BODY_TYPE_MIME,
Syncroton_Command_Sync::BODY_TYPE_HTML,
Syncroton_Command_Sync::BODY_TYPE_PLAIN_TEXT,
);
- // @TODO: client can support both HTML and TEXT use one of
+ // @TODO: if client can support both HTML and TEXT use one of
// them which is better according to the real message body type
foreach ($types as $type) {
More information about the commits
mailing list