Hi,
Download a file using "php readfile" in an action. For example a link "a href=?_task=something&_action=download&file=1"
Upon clicking this link the action should return the file without any html page output.
Any help on how to achieve this will be highly appreciated. I just cant get an understanding of how mail attachment are downloaded.