跳到主要内容

如何使用指定的命令行创建Outlook新电子邮件?

在本文中,我们将向您展示如何使用指定的命令行创建 Outlook 电子邮件。


使用指定的命令行创建 Outlook 电子邮件

请执行以下操作以使用指定的命令行创建新电子邮件。

1. 创建一个空白的 Outlook 电子邮件

如果您只想创建一个新的空白Outlook电子邮件,请单击 搜索 桌面左下角按钮,在地址框中输入以下命令行,然后点击 Outlook.exe c ipm.note 按钮(或按 输入 钥匙)。 看截图:

outlook.exe /c ipm.note

然后立即创建空白电子邮件。

2. 使用特定收件人创建 Outlook 电子邮件

您可以创建一个Outlook电子邮件,在“收件人”字段中显示某些收件人的地址。

请点击 搜索 桌面左下角按钮,在地址框中输入以下命令行,然后点击上面的 Outlook 按钮(或按 输入 钥匙)。 看截图:

outlook.exe /c ipm.note /m

备注:请更改 到收件人的电子邮件地址。

3. 创建具有特定收件人、主题和正文的 Outlook 电子邮件

此外,您可以使用命令行创建包含收件人,主题和正文的Outlook电子邮件。 请执行以下操作。

点击 搜索 桌面左下角按钮,在地址框中输入以下命令行,然后点击上面的 Outlook 按钮创建电子邮件(或按 输入 钥匙)。 看截图:

outlook.exe /c ipm.note /m ?v=1&subject=subject%20test&body=Email%20body%20test

:

1.请更改 到收件人的电子邮件地址。 并根据您的需要更改主题和正文内容。

2. 20% 表示单词之间的空白。


相关文章:


最佳办公生产力工具

Kutools for Outlook - 超过 100 种强大功能可增强您的 Outlook

🤖 人工智能邮件助手: 具有人工智能魔力的即时专业电子邮件——一键天才回复、完美语气、多语言掌握。轻松改变电子邮件! ...

📧 电子邮件自动化: 外出(适用于 POP 和 IMAP)  /  安排发送电子邮件  /  发送电子邮件时按规则自动抄送/密件抄送  /  自动转发(高级规则)   /  自动添加问候语   /  自动将多收件人电子邮件拆分为单独的消息 ...

📨 电子邮件管理: 轻松回忆电子邮件  /  按主题和其他人阻止诈骗电子邮件  /  删除重复的电子邮件  /  高级搜索  /  合并文件夹 ...

📁 附件专业版批量保存  /  批量分离  /  批量压缩  /  自动保存   /  自动分离  /  自动压缩 ...

🌟 界面魔法: 😊更多又漂亮又酷的表情符号   /  使用选项卡式视图提高 Outlook 工作效率  /  最小化 Outlook 而不是关闭 ...

👍 一键奇迹: 使用传入附件回复全部  /   反网络钓鱼电子邮件  /  🕘显示发件人的时区 ...

👩🏼‍🤝‍👩🏻 通讯录和日历: 从选定的电子邮件中批量添加联系人  /  将联系人组拆分为各个组  /  删除生日提醒 ...

超过 100特点 等待您的探索! 单击此处了解更多。

了解更多       免费下载      购买
 

 

Comments (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
excelente amigo muchas gracias... solo me faltaria saber como enviarlo asi directo.. cual seria el comando para darle a enviar correo??????
This comment was minimized by the moderator on the site
Hi randy finol,
Outlook does not have a send Command Line. If you need to do this, please combine both VBA code and command line to get it done.
Note: There is one drawback to this method. Your Outlook must be closed in order for the code to work. After running the command line, the created email will stay in the outbox. You must open Outlook in order to successfully send the email.
1. Open Outlook, press Alt + F11 keys to open the Microsoft Visual Basic for Applications window.
2. Click Insert > Module, then copy the following VBA code into the Module (Code) window.
Sub CommandSendMail()
'Updated by Extendoffice 20220916
Dim xMail As MailItem
Set xMail = Application.ActiveInspector.CurrentItem
With xMail
  .Recipients.Add ""
  .Subject = "Test"
  .Body = "Test body"
  .Recipients.ResolveAll
  .Send
End With
End Sub

3. Save the code and close Outlook.
4. Use the following command line to send an email.
outlook.exe /c ipm.note /autorun CommandSendMail
This comment was minimized by the moderator on the site
On office365 you may need to put '?' instead of '&' before subject. eg. ?subject=subject%20test&body=Email%20body%20test
This comment was minimized by the moderator on the site
^ Wizard, right here.
This comment was minimized by the moderator on the site
а как прописать нескольких получателей?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations