如何使用HTML中的mailto在Outlook中附加文件? [英] How to attach files in Outlook using mailto in HTML?

查看:438
本文介绍了如何使用HTML中的mailto在Outlook中附加文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用以下代码使用Outlook发送邮件

I used the following code to send mail using Outlook

<a href="mailto:test@example.com?Subject=Hello%20test&body=Testing&attach=/Users/administrator/Desktop/test.txt">
Send Mail</a>

这里的问题是我无法在outlook中附加文件。我尝试使用附件'参数也是同样的问题。
我们可以使用相同或其他替代方法吗?

Here the problem is I can't able to attach the file in outlook.I tried with 'Attachment' parameter also.But the same issue. Can we do with the same or any other alternative?

推荐答案

这是不允许的。注意通过点击链接附加本地文件的风险,攻击者可能会在您的磁盘上发送任何敏感文件!

This is not allowed. Mind the risk of attaching a local file just by clicking a link, an attacker may get sent any sensitive file on your disk!

这篇关于如何使用HTML中的mailto在Outlook中附加文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆