6.0.0-git
2019-04-24

[#7286] plain text files attached not formatted
Summary plain text files attached not formatted
Queue IMP
Queue Version 4.2
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester kkkrrruuulll (at) yahoo (dot) it
Created 2008-09-05 (3883 days ago)
Due
Updated 2008-09-05 (3883 days ago)
Assigned
Resolved 2008-09-05 (3883 days ago)
Milestone
Patch No

History
2008-09-05 10:42:13 Jan Schneider Comment #6 Reply to this comment
You can change in config/mime_drivers.php that text/* or only certain 
text/ types are rendered by the "plain" driver, instead of the 
"simple" driver.
2008-09-05 10:33:41 kkkrrruuulll (at) yahoo (dot) it Comment #5 Reply to this comment
Works fine for me with utf-8 files too.
yes... the problem it's not utf8/ascii :-( (i made other tests)



the file that is not diplayed correctly is mime 
"text/x-gettext-translation" and not "text/plain"



is it possibile to display all files with mime "text/*" inside <pre>? 
or as text/plain?
2008-09-05 09:51:46 Jan Schneider Comment #4 Reply to this comment
Works fine for me with utf-8 files too.
2008-09-05 09:40:43 kkkrrruuulll (at) yahoo (dot) it Comment #3 Reply to this comment
If they are really plain text attachments, the text/plain content
type is sent to the browser, and it's up to the browser to render
them properly.
i'm sorry... plain text files are inline not attachments



the file is diplayed inline under the message body inside a <table> 
but not inside <pre>



with an ascii file \n are replaced with <br/>;  with an utf8 file not
2008-09-05 09:00:35 Jan Schneider Comment #2
State ⇒ Rejected
Reply to this comment
If they are really plain text attachments, the text/plain content type 
is sent to the browser, and it's up to the browser to render them 
properly.
2008-09-05 08:50:08 kkkrrruuulll (at) yahoo (dot) it Comment #1
Type ⇒ Enhancement
State ⇒ New
Priority ⇒ 1. Low
Summary ⇒ plain text files attached not formatted
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
when there's a plain text file attached to en email, imp displays the 
message online as html code; so the file is diaplayed as a single row



it is useful if the file is displayed with <pre></pre>; or replace \n 
with <br/>

Saved Queries