链接到电子邮件附件

发布于 2024-09-29 02:43:43 字数 158 浏览 0 评论 0原文

您好,我正在发送电子邮件附件(使用 php),并想向我向其发送电子邮件的人指出有附件。 我想通过在电子邮件的 html 正文中显示一个链接来实现此目的,因此他们所需要做的就是单击该链接,系统将尝试打开/查看附件。

有谁知道这是否可能? 如果是这样,任何正确方向的指示/推动将不胜感激。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南笙 2024-10-06 02:43:43

这是行不通的,而且是一个安全问题,特别是因为链接可能被伪装并且附件可能是脏的。

添加一个大的粗体标题并强调附件,大多数用户都知道如何从他们(最喜欢的)客户端下载这些文件。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文