6.0.0-beta1
7/6/25

[#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 09/05/2008 (6148 days ago)
Due
Updated 09/05/2008 (6148 days ago)
Assigned
Resolved 09/05/2008 (6148 days ago)
Milestone
Patch No

History
09/05/2008 10:42:13 AM 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.
09/05/2008 10:33:41 AM 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?
09/05/2008 09:51:46 AM Jan Schneider Comment #4 Reply to this comment
Works fine for me with utf-8 files too.
09/05/2008 09:40:43 AM 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 
<!--a75c305b1c0a6022--><table> but not inside <pre>



with an ascii file \n are replaced with <br/>;  with an utf8 file not
09/05/2008 09:00:35 AM 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.
09/05/2008 08:50:08 AM kkkrrruuulll (at) yahoo (dot) it Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ plain text files attached not formatted
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ New
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