[howto] Download attachment links not working

Solutions for other phpList version 2 users
Forum rules
Please do not ask questions here, this is for Solutions you have discovered or come across.

[howto] Download attachment links not working

Postby Guest » 3:25pm, Wed 10 Sep, 2008

I have had a problem for several months with attachment downloads (the type that are in the form of .../dl.php?id=XXX). Sometimes recipients were reporting that they would act like they downloaded OK, but would never actually open. All of the attachments we have sent have been PDFs, so I don't know if that's part of the problem.

Anyway, I found a sure-fire way of making sure they work correctly, which came from another project I was working on. In config/config.php, change the default mimetype, to this:


Voila! All links now work correctly.

Return to Answers, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests