I want to create a email body that contains download link, when someone click on the download link, it will be immediately download.
But instead the following code open the image in new tab from the browser. How to solve this problem?
$message .= '<a download href="ip-address/img/feature-4.png">Download
Link</a>';**strong text**
p/s:I had tried force browser to download image files on click ,but it did not solve my problem.