跳到主要內容

如何使用指定的命令行創建Outlook新電子郵件?

在本文中,我們將向您展示如何使用指定的命令行創建 Outlook 電子郵件。


使用指定的命令行創建 Outlook 電子郵件

請執行以下操作以使用指定的命令行創建新電子郵件。

1. 創建一個空白的 Outlook 電子郵件

如果您只想創建一個新的空白Outlook電子郵件,請單擊 檢索 桌面左下角按鈕,在地址框中輸入以下命令行,然後點擊 Outlook.exe c ipm.note 按鈕(或按 Enter 鑰匙)。 看截圖:

outlook.exe /c ipm.note

然後立即創建空白電子郵件。

2. 使用特定收件人創建 Outlook 電子郵件

您可以創建一個Outlook電子郵件,在“收件人”字段中顯示某些收件人的地址。

請點擊 檢索 桌面左下角按鈕,在地址框中輸入以下命令行,然後點擊上面的 Outlook 按鈕(或按 Enter 鑰匙)。 看截圖:

outlook.exe /c ipm.note /m

備註:請更改 到收件人的電子郵件地址。

3. 創建具有特定收件人、主題和正文的 Outlook 電子郵件

此外,您可以使用命令行創建包含收件人,主題和正文的Outlook電子郵件。 請執行以下操作。

點擊 檢索 桌面左下角按鈕,在地址框中輸入以下命令行,然後點擊上面的 Outlook 按鈕創建電子郵件(或按 Enter 鑰匙)。 看截圖:

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