Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: kieth4548 on August 23, 2018, 03:57:41 PM

Title: Stop Download of Attachment
Post by: kieth4548 on August 23, 2018, 03:57:41 PM
Is there a way to prevent an attachment from downloading when clicking it. For example an email come with a PDF. When you click the link to the PDF it automatically downloads to a folder. Is there a way to stop the download and go straight to preview for say without the attachment being left behind.

Thanks
Kieth
Title: Re: Stop Download of Attachment
Post by: JohnDoh on August 24, 2018, 01:56:36 AM
there are a lot of possible reasons for this, some things you could try:

*) check your browser configuration to see that its set to preview PDFs in browser rather than download
*) check the response headers that come back when you click on the attachment - is the content type listed as PDF
*) run a test with any old PDF file hosted on the same server to see if its the server in general or specific to roundcube