I want to open the default mail client registering on Windows and create an email with an attachment.
The behaviour is just like when you right click on a file, the Send to -> Mail Recipient. Or when you compressing a folder and select 'compress and email' on the context menu.
I have tried:
Do you have any other ideas?
Thanks!
根据邮件客户端的版本,尝试将&attach="C:\\some_file.txt
到mailto:xxx@xxx.com
。这会在邮件客户端打开时添加附件。如果attach
不起作用,请尝试attachment
,我想知道您是否不能同时添加两者。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.