如何添加body到mailto链接从控制台Win? [英] how can I add body to the mailto link from console Win?
问题描述
我遇到这个问题:
我尝试从命令行发送电子邮件,但如果我这样做:
I'm trying to send an email from the command line but if I do:
mailto:example@rat.it?subject = subject& body = body
mailto: example@rat.it?subject=subject&body=body
该命令返回我:bodynonèriconosciuto come comando interno o esterno,
un programma eseguibile o un file batch。
The cmd returns me: "body" non è riconosciuto come comando interno o esterno, un programma eseguibile o un file batch.
我只能写主题和没有正文的电子邮件。我如何添加正文?
I only manage to write an email with the subject and without the body, How can I add the Body?
请帮助我
推荐答案
几乎在那里...
这个工程:
start mailto:"example@rat.it?subject=subject&body=body"
编辑:但是它会将额外的 address ...
(你可以通过在正文的前面插入一个空格来避免额外的)
but it puts an extra "
to the beginning of the address...
(you can avoid the extra "
at the end of the body by inserting a space in front of it)
EDIT2:
但是工作原理:
but this works:
start "" "mailto:example@rat.it?subject=subject&body=body "
这篇关于如何添加body到mailto链接从控制台Win?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!