使用outlook通过mailto发送带附件的电子邮件 [英] send an email with an attachment using outlook through mailto
本文介绍了使用outlook通过mailto发送带附件的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
通过来自JAVA的mailto:function准备电子邮件时,是否可以将带有主题和收件人的文件附加到Outlook?
Is it possible to attach a file with subject and recipient to outlook while preparing an email through mailto: function from JAVA?
推荐答案
你好Varad,
Hello Varad,
不。
mailto 协议不支持此类操作。
Nope. The mailto protocol doesn't support such actions.
作为一种解决方法,您可以考虑一种可能的解决方法来发送文件:
As a workaround you may consider a possible workaround to send a file:
- 让用户选择一个文件并将其上传到任何服务器
- 让服务器返回一个上传后的随机文件名(URL)
- 构建
mailto:
链接
,其中包含uploade的URL邮件正文中的文件
这篇关于使用outlook通过mailto发送带附件的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文