跳到主要内容

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 \用户名\ Desktop,请替换为“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