跳至主要内容

Kutools for Office — 一套工具,五种功能。事半功倍。

如何在Outlook中回复邮件时保留附件?

Author: Kelly Last Modified: 2025-08-22

在Microsoft Outlook中,当你转发电子邮件时,原始附件会保持不变。然而,当你回复邮件时,Outlook会自动删除所有附件,因为它认为这些附件在对话中是不必要的。这可能会令人沮丧且效率低下,特别是当你需要引用重要文件、重新发送文档或保留附件以获得更好的上下文时。幸运的是,有几种方法可以确保在Outlook中回复时附件仍然包含在内,无论你更喜欢手动、一键式还是自动化解决方案:

通过手动复制和粘贴来回复带附件的邮件 基础但繁琐

使用Kutools for Outlook一键回复带附件的邮件 👍 快速且省力

使用VBA自动回复带附件的邮件 技术性且需设置


通过手动复制和粘贴来回复带附件的邮件

你可以手动从邮件中复制附件并在发送之前将它们粘贴到回复消息中。

1. 打开Outlook,选择你要回复的邮件,并在阅读窗格中预览它或在单独的窗口中打开它。

2. 点击任意附件,然后在附件选项卡下点击全选 > 复制

the screenshot of step about replying with attachments by manually copying and pasting 1

3. 点击回复按钮以打开回复窗口。

the screenshot of step about replying with attachments by manually copying and pasting 2

4. 在回复消息中,点击消息正文中的任意位置并按Ctrl + V或点击消息选项卡上的粘贴以插入复制的附件。

the screenshot of step about replying with attachments by manually copying and pasting 3

5. 编写你的回复,检查附件,然后点击发送

局限性:

  • 手动且重复:不适合频繁使用。
  • 耗时:每次都需要额外步骤。
  • 容易出错:你可能会忘记复制和粘贴附件。

📂 轻松保存多封邮件的附件

厌倦了在 Outlook 中逐封邮件保存附件吗?使用 Kutools for Outlook 简化您的工作流程!强大的“保存所有(附件)”功能让您只需点击几下即可从多封邮件或整个文件夹中保存附件。告别繁琐的手动操作,轻松掌控您的收件箱。

Save attachments in multiple emails

立即下载 Kutools for Outlook


使用Kutools for Outlook一键回复带附件的邮件 👍

为了快速且毫不费力地回复带附件的邮件,你可以使用Kutools for Outlook。“带原始附件回复”功能允许你通过一键点击即可回复同时保留原始附件。

告别Outlook效率低下的问题!Kutools for Outlook让批量邮件处理更轻松——现在还提供免费的AI功能!立即下载Kutools for Outlook!

选择包含你需要保留的附件的邮件。然后点击Kutools > 带原始附件回复全部带原始附件回复

the screenshot of the Reply with Original Attachment or Reply All with Original Attachment button

就这样!回复消息将自动包含来自原始邮件的所有附件。只需编写你的消息并点击发送

the screenshot of keeping attchments in replying email using Kutools for Outlook

为什么要使用Kutools for Outlook?

  • ✅ 节省时间:无需手动复制和粘贴附件。
  • ✅ 一键解决方案:立即回复带附件的消息。
  • ✅ 用户友好:易于使用,无需技术技能。
注意: 要应用 Kutools for Outlook的“带原始附件回复”工具,首先,你应该下载并安装Kutools for Outlook

使用VBA自动回复带附件的邮件

对于熟悉VBA脚本的用户,这种方法可以自动回复带附件的过程。但是,它需要在Outlook中启用宏并手动添加脚本。

💡 重要提示: 在运行VBA宏之前,你需要在Outlook中启用宏

第一步:打开VBA编辑器

1. 选择你想要回复的邮件消息。

2. 按Alt + F11键打开Microsoft Visual Basic for Applications窗口。

3. 在左侧面板中,展开Project1 > Microsoft Outlook对象。双击ThisOutlookSession以打开它。

the screenshot of the ThisOutlookSession option

第二步:插入VBA代码

将以下VBA代码复制并粘贴到 ThisOutlookSession窗口中:

Sub RunReplyWithAttachments()
'Update by Extendoffice 20250224
    Dim xReplyItem As Outlook.MailItem
    Dim xItem As Object
    On Error Resume Next
    Set xItem = GetCurrentItem()
    If xItem Is Nothing Then Exit Sub
    Set xReplyItem = xItem.Reply
    CopyAttachments xItem, xReplyItem
    xReplyItem.Display
    Set xReplyItem = Nothing
    Set xItem = Nothing
End Sub

Sub RunReplyAllWithAttachments()
    Dim xReplyAllItem As Outlook.MailItem
    Dim xItem As Object
    Set xItem = GetCurrentItem()
    If xItem Is Nothing Then Exit Sub
    Set xReplyAllItem = xItem.ReplyAll
    CopyAttachments xItem, xReplyAllItem
    xReplyAllItem.Display
    Set xReplyAllItem = Nothing
    Set xItem = Nothing
End Sub

Function GetCurrentItem() As Object
    On Error Resume Next
    Select Case TypeName(Application.ActiveWindow)
        Case "Explorer"
            Set GetCurrentItem = Application.ActiveExplorer.Selection.Item(1)
        Case "Inspector"
            Set GetCurrentItem = Application.ActiveInspector.CurrentItem
    End Select
End Function

Sub CopyAttachments(SourceItem As MailItem, TargetItem As MailItem)
    Dim xFilePath As String
    Dim xAttachment As Attachment
    Dim xFSO As Object
    Dim xTmpFolder As Object
    Dim xFldPath As String
    Set xFSO = CreateObject("Scripting.FileSystemObject")
    Set xTmpFolder = xFSO.GetSpecialFolder(2)
    xFldPath = xTmpFolder.Path & "\"
    For Each xAttachment In SourceItem.Attachments
        If IsEmbeddedAttachment(xAttachment) = False Then
            xFilePath = xFldPath & xAttachment.Filename
            xAttachment.SaveAsFile xFilePath
            TargetItem.Attachments.Add xFilePath, , , xAttachment.DisplayName
            xFSO.DeleteFile xFilePath
        End If
    Next
    Set xFSO = Nothing
    Set xTmpFolder = Nothing
End Sub

Function IsEmbeddedAttachment(Attach As Attachment)
    Dim xAttParent As Object
    Dim xCID As String, xID As String
    Dim xHTML As String
    On Error Resume Next
    Set xAttParent = Attach.Parent
    xCID = Attach.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001F")
    If xCID <> "" Then
        xHTML = xAttParent.HTMLBody
        xID = "cid:" & xCID
        If InStr(xHTML, xID) > 0 Then
            IsEmbeddedAttachment = True
        Else
            IsEmbeddedAttachment = False
        End If
    End If
End Function

第三步:运行VBA宏

1. 按F5键或点击运行按钮以执行宏。

2. 在对话框中,选择ThisOutlookSession.RunReplyAllWithAttachments以回复所有人或选择ThisOutlookSession.RunReplyWithAttachments以回复一个收件人。点击运行

the screenshot of the Macros dialog box

结果

回复窗口将打开,包含所有原始附件。只需编写你的消息并点击发送

VBA方法的优缺点:

  • ✅ 自动化:无需手动复制和粘贴附件。
  • ❌ 需要VBA知识 :可能不适合初学者。
  • ❌ 宏默认被禁用 :你必须手动启用它们。

结论:你应该选择哪种方法?

以下是三种方法的比较,帮助你决定哪一种最适合你的需求:

方法适合人群易用性效率
手动复制粘贴 偶尔使用 ⭐⭐⭐⭐ ⭐⭐
Kutools for Outlook 日常使用,非技术人员 ⭐⭐⭐⭐⭐ ⭐⭐⭐⭐⭐
VBA宏 自动化爱好者,高级用户 ⭐⭐⭐ ⭐⭐⭐⭐

对于大多数用户来说,Kutools for Outlook是最好的选择,因为它是在Outlook中回复带附件的最快和最简单的方法。现在,你可以轻松地使用最适合你工作流程的方法在Outlook中回复带附件的邮件!🚀


演示:使用Kutools for Outlook一键回复带附件的邮件

 

相关文章:


最佳 Office 办公效率工具

最新消息:Kutools for Outlook 推出免费版!

体验全新 Kutools for Outlook,超过100 种强大功能!立即点击下载!

🤖 Kutools AI 采用先进的 AI 技术,轻松处理邮件,包括答复、总结、优化、扩展、翻译和撰写邮件。

📧 邮箱自动化自动答复(支持 POP 和 IMAP) /计划发送邮件 /发送邮件时按规则自动抄送密送 / 自动转发(高级规则) / 自动添加问候语 / 自动将多收件人的邮件分割为单独邮件 ...

📨 邮件管理撤回邮件 / 按主题及其他条件阻止欺诈邮件 / 删除重复邮件 / 高级搜索 / 整合文件夹 ...

📁 附件增强批量保存 / 批量拆离 / 批量压缩 / 自动保存 / 自动拆离 / 自动压缩 ...

🌟 界面魔法😊更多美观酷炫的表情 /重要邮件到达时提醒 / 最小化 Outlook 而非关闭 ...

👍 一键高效操作带附件全部答复 / 防钓鱼邮件 / 🕘显示发件人时区 ...

👩🏼‍🤝‍👩🏻 联系人与日历批量添加选中邮件中的联系人 / 分割联系人组为单独的组 / 移除生日提醒 ...

可根据您偏好选择 Kutools 使用语言——支持英语、西班牙语、德语、法语、中文及40 多种其他语言!

只需点击一下即可立即激活 Kutools for Outlook。无需等待,立即下载,提升工作效率!

kutools for outlook features1 kutools for outlook features2

🚀 一键下载——获取所有 Office 插件

强烈推荐:Kutools for Office(五合一)

一键下载五个安装包Kutools for Excel、Outlook、Word、PowerPoint以及 Office Tab Pro 立即点击下载!

  • 一键便利操作:一次下载全部五个安装包。
  • 🚀 随时满足 Office任务需求:需要哪个插件随时安装即可。
  • 🧰 包含:Kutools for Excel / Kutools for Outlook / Kutools for Word / Office Tab Pro / Kutools for PowerPoint