SiT! Bugs - SiT!
View Issue Details
0001346SiT!outbound emailpublic2010-06-17 11:172011-06-03 22:11
sancho78rus 
Tomse 
normalminorhave not tried
resolvedfixed 
LinuxLinux2.6+later
3.61 LTS 
3.90beta1Current GIT 
0001346: Bad mail format
Outlook recieves mail in bad format. Cirillic is ok, but all text is in one narrow column. See attache.
In The Bat! its ok.
No tags attached.
jpg 111111111111Untitled-1.jpg (120,715) 2010-06-17 11:17
http://bugs.sitracker.org/file_download.php?file_id=119&type=bug
jpg

png qp-lf.png (59,366) 2011-06-03 22:06
http://bugs.sitracker.org/file_download.php?file_id=145&type=bug
png
Issue History
2010-06-17 11:17sancho78rusNew Issue
2010-06-17 11:17sancho78rusFile Added: 111111111111Untitled-1.jpg
2010-06-17 11:49ivanNote Added: 0003253
2010-06-17 11:49ivanNote Edited: 0003253bug_revision_view_page.php?bugnote_id=3253#r166
2010-06-17 11:49ivanStatusnew => feedback
2010-06-17 11:59sancho78rusNote Added: 0003254
2010-06-17 11:59sancho78rusStatusfeedback => new
2010-06-17 13:12ivanNote Added: 0003255
2010-06-17 13:12ivanStatusnew => confirmed
2010-06-25 19:52sancho78rusNote Added: 0003270
2010-08-27 14:25avdheidenNote Added: 0003379
2011-01-06 17:53ivanNote Added: 0003533
2011-01-06 17:55ivanTarget Version => 4.0
2011-01-11 09:07paulhNote Added: 0003534
2011-02-14 13:21ivanTarget Version4.0 => 3.90beta1
2011-06-01 14:28TomseAssigned To => Tomse
2011-06-01 14:28TomseStatusconfirmed => assigned
2011-06-01 14:29TomseNote Added: 0003808
2011-06-01 17:03sancho78rusNote Added: 0003809
2011-06-01 17:47TomseNote Added: 0003810
2011-06-02 11:50TomseNote Added: 0003812
2011-06-02 11:50TomseStatusassigned => resolved
2011-06-02 11:50TomseFixed in Version => Current GIT
2011-06-02 11:50TomseResolutionopen => fixed
2011-06-03 11:49sancho78rusNote Added: 0003815
2011-06-03 11:49sancho78rusStatusresolved => feedback
2011-06-03 11:49sancho78rusResolutionfixed => reopened
2011-06-03 15:40TomseNote Added: 0003816
2011-06-03 15:41TomseNote Added: 0003817
2011-06-03 15:41TomseStatusfeedback => resolved
2011-06-03 15:41TomseResolutionreopened => fixed
2011-06-03 22:06ivanFile Added: qp-lf.png
2011-06-03 22:07ivanNote Added: 0003820

Notes
(0003253)
ivan   
2010-06-17 11:49   
Could you try sending a mail from your SiT! installation to test[at]sitracker[dot]org ? I can take a look at the raw mail format. Thanks.

(0003254)
sancho78rus   
2010-06-17 11:59   
sent
(0003255)
ivan   
2010-06-17 13:12   
Need to investigate this further, but on first glance it appears as if the text in the raw email is being word-wrapped after the quoted-printable encoding rather than before.
(0003270)
sancho78rus   
2010-06-25 19:52   
may be it helps...
as you can see on the picture text formats in one column. and sometimes every string ends with "="
(0003379)
avdheiden   
2010-08-27 14:25   
I was asked by Tomse (Sit Developer) to post some info here. I've a situation that is probably related to the bug described here.

I've been using SiT 3.61 for some time now. We recently upgraded oud Groupwise 7.03 (Linux) mailserver to Groupwise 8.01.
After this, we noticed that some lines were broken of at an incorrect point and in these cases an '=' sign appeared.

At the suggestion of Tomse we've tried to let SiT use postfix and then relaying over the Groupwise Internet Agent. The '=' signs disappeared but still, the lines are ended at random points.

Hope this helps and hope you can help me.
(0003533)
ivan   
2011-01-06 17:53   
quoted-printable encoding really doesn't seem to work well with some email clients, line breaks seem to be in the wrong places. Base64 encoding seems to work better. I think we should have a config variable for choosing encoding and line feed type.
(0003534)
paulh   
2011-01-11 09:07   
Tom has reported this when the mail is received in gmail
(0003808)
Tomse   
2011-06-01 14:29   
We've talked to another user who used groupwise, it seems Base64 is better for groupwise than quoted-printable.

so a setting is most definately useful.
(0003809)
sancho78rus   
2011-06-01 17:03   
is there some workaround now?
our mails looks bad for most our clients.
(0003810)
Tomse   
2011-06-01 17:47   
hello sancho78

in line 551 (of v3.63p1) of incident_email.php you can try and change quoted-printable to base64 see if that works for you :-)
(0003812)
Tomse   
2011-06-02 11:50   
fixed in git: a59d062 and ddfac8b - added a config page to switch between QP or base64
(0003815)
sancho78rus   
2011-06-03 11:49   
it does not help.
the mail format is still like on screenshot.
please help...
(0003816)
Tomse   
2011-06-03 15:40   
try replacing it in lib/functions.inc.php file too search for quoted-printable, and the line should look the same as what you saw in incident_email file
(0003817)
Tomse   
2011-06-03 15:41   
Marking it fixed again, as this is fixed for v3.90 and not 3.6x
(0003820)
ivan   
2011-06-03 22:07   
Added a screenshot from gmail of an email sent to SiT! with russian text. This is from 3.90 (git) with the outgoing mail settings quoted-printable and LF.