[imp] Hide text/plain download link

Michael M Slusarz slusarz at horde.org
Fri Jul 8 16:14:52 UTC 2011


Quoting ssri_abo at u-paris2.fr:

> Hello,
>
> When displaying a multipart/mixed mail, containing text/plain &  
> application/pdf, IMP shows two download links, one for the  
> text/plain attachment, one for the application/pdf attachment.
> Is it possible to hide the download link for the text/plain attachment ?
>
> Have tried to 'show' => false for $mime_drivers['imp']['plain'] but  
> IMP still show the download link.

The text/plain part is a viewable part of the message, meaning a user  
will always get an option to (at a minimum) download the part.  You  
can't do anything about that.

The $mime_drivers config only alters whether the the part will be  
inline viewable in the browser.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list