0

I am facing an issue where I have uploaded an attachment to the content folder and I have created a hyperlink in an email template so that you can download it. The issue is that the name of the attachment is wrong and I want to know how to rename it.

I have tried this method:

href="http://website.eu/wrongname.docx" download="correctname.docx"

But this does not work and when I try to download it it still downloads as wrongname.docx.

Could you please help me?

Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.