link to an email attachment

非 Y 不嫁゛ 提交于 2019-12-10 13:18:53

问题


Hi I am sending email attachments (using php) and would like to point out to the people that I send the emails to that there are attachments. I want to do this by displaying a link in the html body of the email, so all they need to do is click the link and there system will try and open/view the attachment.

Does anyone know if this is this possible? and if so any pointers/nudges in the right direction would be appreciated.


回答1:


This will not work and it's a security concern, especially since links can be disguised and attachments can be dirty.

Add a big bold title with emphasis on the attachment, most users know how to download these from their (favorite) client.



来源:https://stackoverflow.com/questions/4013995/link-to-an-email-attachment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!