跳到主要內容

Outlook:自動在新郵件中附加文件

假設您要在Microsoft Outlook中將公司的資料自動添加到所有新創建的電子郵件中,您將如何處理? 有兩種棘手的方法可以幫助您在Microsoft Outlook中自動在新郵件中附加文件。

使用自定義模板自動將文件附加到新郵件中

使用VBA自動在新消息中附加文件

Office 標籤 - 在 Microsoft Office 中啟用選項卡式編輯和瀏覽,讓工作變得輕而易舉
Kutools for Outlook - 透過 100 多個進階功能增強 Outlook,實現卓越效率
使用這些進階功能增強您的 Outlook 2021 - 2010 或 Outlook 365。 享受全面的 60 天免費試用並提升您的電子郵件體驗!

箭頭藍色右氣泡使用自定義模板自動將文件附加到新郵件中

此方法將指導您創建帶有附件的新模板,然後應用此模板。 當您在Microsoft Outlook中應用此自定義模板時,它將自動附加指定的文件。

步驟1:建立新的電子郵件:

  1. 在Outlook 2007中,請點擊 文件 > 全新 > 郵件訊息.
  2. 在Outlook 2010和2013中,請點擊 新郵件 上的按鈕 首頁 標籤。

步驟2:在[訊息]視窗中,按一下 插入 > 附加文件,然後在“插入文件”對話框中,選擇指定的文件,然後單擊 插入 按鈕。

步驟3:點擊 文件 > 另存為 在“消息”窗口中。 (如果您使用的是Outlook 2007,請單擊 辦公按鈕 在左上角> 另存為 > 另存為.)

步驟4:在“另存為”對話框中,

  1. 在頁面中輸入新模板的名稱 文件名: 框;
  2. 點擊 保存類型: 框,然後選擇 Outlook模板 在下拉菜單中;
  3. 點擊 節省 按鈕。

備註:模板將自動保存到 Outlook模板 文件夾(如果選擇) Outlook模板 來自 除上文所 鍵入下拉列表。

步驟5:關閉當前撰寫的電子郵件。

特定的模板已創建,如果要自動在新電子郵件中附加文件,則可以應用它。 您可以按照以下步驟進行操作:

第6步:打開“選擇表單”對話框:

  1. 在Outlook 2007中,單擊 文件 > 全新 > 選擇表格。
  2. 在Outlook 2010和2013中,點擊 新產品 > 更多項目 > 選擇表格。

步驟7:在“選擇表單”對話框中:

  1. 點擊 在看: 框,然後選擇 文件系統中的用戶模板 從下拉列表中;
  2. 單擊以突出顯示模板列表中的自定義模板;
  3. 點擊 已提交 按鈕。

然後創建一個新電子郵件,並立即附加指定的文件。

步驟8:撰寫新的電子郵件,然後點擊 送出 按鈕。


箭頭藍色右氣泡使用VBA自動在新消息中附加文件

有一個技巧可以通過Microsoft Outlook中的VBA宏自動在新郵件中附加文件。

步驟1:按下 其他 + F11 鍵以打開“ Microsoft Visual Basic應用程序”窗口。

步驟2:點擊 插入 > 模塊.

步驟3:將以下代碼粘貼到新的模塊窗口中。

Sub NewMessageWithAttachment()
Dim oMsg As Outlook.MailItem
Set oMsg = Application.CreateItem(olMailItem)
With oMsg
.Attachments.Add "C:\Attachment.doc"
.Display
End With
End Sub

步驟4:根據需要更改代碼中附件的保存路徑。

例如,如果您要附加的文件名為“Office Tab”,文件擴展名為“。的docx”,其保存路徑為 C:\ Users \用戶名\桌面,請替換為“C:\ Attachment.doc”和“C:\ Users \用戶名\ Desktop \ Office Tab.docx在代碼中。

步驟5:按 F5 運行此VBA宏的關鍵。

然後,您將看到同時附加指定文件的新電子郵件消息。

步驟6:撰寫新的電子郵件,然後點擊 送出 按鈕。


最佳辦公生產力工具

Kutools for Outlook - 超過 100 種強大的功能可增強您的 Outlook

🤖 人工智慧郵件助手: 具備人工智慧魔力的即時專業電子郵件——一鍵天才回覆、完美語調、多語言掌握。輕鬆改變電子郵件! ……

📧 電子郵件自動化: 外出(適用於 POP 和 IMAP)  /  安排發送電子郵件  /  發送電子郵件時按規則自動抄送/密件副本  /  自動轉送(進階規則)   /  自動添加問候語   /  自動將多收件者電子郵件拆分為單獨的訊息 ...

📨 電子郵件管理: 輕鬆回憶電子郵件  /  按主題和其他人阻止詐騙電子郵件  /  刪除重複的電子郵件  /  進階搜索  /  合併資料夾 ...

📁 附件專業版批量保存  /  批量分離  /  批量壓縮  /  自動保存   /  自動分離  /  自動壓縮 ...

🌟 介面魔法: 😊更多又漂亮又酷的表情符號   /  使用選項卡式視圖提高 Outlook 工作效率  /  最小化 Outlook 而不是關閉 ...

👍 一鍵奇蹟: 使用傳入附件回覆全部  /   反網路釣魚電子郵件  /  🕘顯示寄件者的時區 ...

👩🏼‍🤝‍👩🏻 通訊錄和行事曆: 從選定的電子郵件中大量新增聯絡人  /  將聯絡人群組拆分為各組  /  刪除生日提醒 ...

超過 100特點 等待您的探索! 按此處了解更多。

閱讀更多       免費下載      購買
 

 

Comments (14)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Ola,
se o anexo estiver em uma pasta na rede ou em outra maquina, como faz para anexar automaticamente?
This comment was minimized by the moderator on the site
При нажатии на эл.адрес в документе pdf автоматически создается новое письмо в outlook. При нажатии на несколько разных адресов outlook создает новое письмо для каждого, можно сделать так, чтобы он добавлял нового адресата в одно письмо ?
This comment was minimized by the moderator on the site
Hi there,

I think you will have to copy the email addresses and then add them as recipients of one email.

Amanda
This comment was minimized by the moderator on the site
I've got a coworkers outlook that auto attaches EVERY email. This was never set up and just randomly started. Went away when the IT dept transitioned it to O365 (desktop app), but then randomly came back. I've seen nothing set up whatsoever with rules for this or anything. Any ideas how to get this to stop? Especially since we have customers receiving these emails and go to click the attachment and nothing opens. Plus it makes it that much more difficult finding the right email with the right attachment.
This comment was minimized by the moderator on the site
Hi there, do you mean that an email account in Outlook auto attaches other emails when reply to or send a message? And the attachments that has noting?
This comment was minimized by the moderator on the site
how to add an attachment in automatic reply in outlook
This comment was minimized by the moderator on the site
how can I attache file automatically from some shared location and send schedule them to b sent in everymonth and on a specific date
This comment was minimized by the moderator on the site
Instead of creating new email how to use email template and attach files automatically. pls can you suggest the VBA code for this?
This comment was minimized by the moderator on the site
Sub NewMessageWithAttachment()
Dim oMsg As Outlook.MailItem
Set oMsg = Application.CreateItem(olMailItem)
Set oMsg = Application.CreateItemFromTemplate("your template address")
With oMsg
.Attachments.Add "your attachment address"
.Display
End With
End Sub
'Press F5 key to run this VBA macro.
'I tried this and it worked. I am not an expert in VB.
This comment was minimized by the moderator on the site
Can you guide me, I get an error when running the Marco 
This comment was minimized by the moderator on the site
is there any particular way i can send mails to a particular mail id attaching files automatically from a folder. I want the whole process to be done automatically once the mail id and folder is set set. Its gonna be heaven if that's possible as my job pressure can be reduced at least a bit by the same.
This comment was minimized by the moderator on the site
is there any way i can send mails to a particular mail id attaching files from a particular folder in my pc automatically
This comment was minimized by the moderator on the site
Hi also, I have done the same for multiple attachments, but the problem if I set 3 files and 1 of them is not there the email will not be sent. is there a way to set it to attach what ever available and send it thanks in advance
This comment was minimized by the moderator on the site
This is very useful, can you please advise how may I add "body" and "to" in the codes
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations