View Issue Details

IDProjectCategoryView StatusLast Update
0004150SOGoWeb Mailpublic2017-08-23 20:06
Reporternenonano Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platform[Server] LinuxOSRHEL/CentOSOS Version6
Product Version3.2.8 
Summary0004150: Attachments are not displayed on IOS
Description

on IOS 9.5.3, an attach is not displayed.

the same message has attachment visible on any other client (web or other)..

sending a message from roundcube from the same account/server and with the same attachment there's no issue at all.

I see (on TB) that mail sent from sogo show "unknown size" regarding the attachment, while the one sent from roundcube show the real size

Steps To Reproduce

from sogo, send an email with an attachment.. open it on IOS default mail client

TagsNo tags attached.

Activities

nenonano

nenonano

2017-04-20 16:25

reporter  

sogo_thunderbird__email.png (9,677 bytes)   
sogo_thunderbird__email.png (9,677 bytes)   
nenonano

nenonano

2017-04-20 16:26

reporter  

nenonano

nenonano

2017-04-20 16:26

reporter  

sogo_ios.png (65,732 bytes)   
sogo_ios.png (65,732 bytes)   
nenonano

nenonano

2017-04-20 16:26

reporter  

roundcube_ios.png (33,795 bytes)   
roundcube_ios.png (33,795 bytes)   
nenonano

nenonano

2017-04-20 16:33

reporter   ~0011740

strange enough, in the message sent from sogo I see:

------=_=-_OpenGroupware_org_NGMime-27701-1492702673.011745-19------
Content-Type: application/pdf
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Guida_modifica_firma.pdf"
Content-Length: 126322

while in the one sent from roundcube:

--=_9edf75b1710d8931606dd7c1a3011b48
Content-Transfer-Encoding: base64
Content-Type: application/pdf;
name=Guida_modifica_firma.pdf
Content-Disposition: attachment;
filename=Guida_modifica_firma.pdf

nenonano

nenonano

2017-04-21 07:03

reporter   ~0011742

OK, did some more testa
The issues is in some way related to the signature
Sent a mail from an account withouthtml signature and the attachment is correctly display ed

In my case signature is composed by an embedded IMG (in HTML, I set IMG SRC and the base64 encoded image as source)

nenonano

nenonano

2017-04-22 18:23

reporter   ~0011750

Some more tests
Created a signature in roundcube with embedded image and tried again
No issues at all, so it seems definitely a sogo only problem

nenonano

nenonano

2017-05-03 11:55

reporter   ~0011782

any hint to debug this one?

ludovic

ludovic

2017-05-08 14:32

administrator   ~0011791

How is connected your iPad?

Standard IMAP account? ActiveSync? Using SOGo's web interface?

nenonano

nenonano

2017-05-08 15:16

reporter   ~0011797

messages are sent from SOGo web mail

messages are read (on iPad) via default mail client connected in imap to a google account

the recipient ISP doesn't affect the result: everytime I send an email from SOGo web mail with the embedded html signature and an attachment, the recipient can't see the attachment in his mail client on IOS (tried on iPad, iPhone ecc.. many free isp like google or libero.it)

the same email, viewed on a different client (outlook via imap, TB via imap or on remote webmail) has no issues..

but an identical email (same embedded html email, same attachment, same text), sent from roundcube from the same server to the same recipient doesn't show any issue.. signature and attach are both visible

Related Changesets

sogo: master c29c6dc6

2017-08-23 15:45

ludovic


Details Diff
(fix) properly encode MIME parts with embedded images in HTML parts (fixes 0004150) Affected Issues
0004150
mod - SoObjects/Mailer/NSString+Mail.m Diff File
mod - SoObjects/Mailer/SOGoDraftObject.m Diff File

sogo: v2 7d190e53

2017-08-23 15:45

ludovic


Details Diff
(fix) properly encode MIME parts with embedded images in HTML parts (fixes 0004150)

Conflicts:
SoObjects/Mailer/NSString+Mail.m
SoObjects/Mailer/SOGoDraftObject.m
Affected Issues
0004150
mod - SoObjects/Mailer/NSString+Mail.m Diff File
mod - SoObjects/Mailer/SOGoDraftObject.m Diff File

Issue History

Date Modified Username Field Change
2017-04-20 16:25 nenonano New Issue
2017-04-20 16:25 nenonano File Added: sogo_thunderbird__email.png
2017-04-20 16:26 nenonano File Added: roundcube_thunderbird__email.png
2017-04-20 16:26 nenonano File Added: sogo_ios.png
2017-04-20 16:26 nenonano File Added: roundcube_ios.png
2017-04-20 16:33 nenonano Note Added: 0011740
2017-04-21 07:03 nenonano Note Added: 0011742
2017-04-22 18:23 nenonano Note Added: 0011750
2017-05-03 11:55 nenonano Note Added: 0011782
2017-05-08 14:32 ludovic Note Added: 0011791
2017-05-08 15:16 nenonano Note Added: 0011797
2017-08-23 19:46 ludovic Changeset attached => sogo master c29c6dc6
2017-08-23 19:46 ludovic Assigned To => ludovic
2017-08-23 19:46 ludovic Resolution open => fixed
2017-08-23 19:48 ludovic Status new => resolved
2017-08-23 20:06 ludovic Changeset attached => sogo v2 7d190e53