跳到主要内容

如何在Outlook中将类别分配给外发电子邮件?

本文提供了三种在Outlook中将类别分配给外发电子邮件的方法。

手动将类别分配给外发电子邮件
使用VBA代码手动将类别分配给外发电子邮件
通过创建规则自动将类别分配给外发电子邮件


手动将类别分配给外发电子邮件

您可以在Outlook中手动将类别分配给外发电子邮件。 请执行以下操作。

1.在新的电子邮件窗口中,单击 讯息选项 按钮在 标签 下的组 想说的话 标签。 看截图:

2.在 查看房源 对话框中,从 分类目录 下拉列表,然后单击 关闭 按钮。

3.撰写并发送电子邮件。 然后,在Outlook的“已发送邮件”文件夹中为该外发邮件分配了具有指定类别的电子邮件。


使用VBA代码手动将类别分配给外发电子邮件

然后,下面的VBA代码可以帮助您轻松地将类别分配给Outlook中的外发电子邮件。 请执行以下操作。

1。 按 其他 + F11 键打开 Microsoft Visual Basic应用程序 窗口。

2.在 Microsoft Visual Basic应用程序 窗口,请双击以打开 本次展望会议 代码窗口,然后将下面的VBA代码复制到代码窗口中。

VBA代码1:手动将类别分配给外发电子邮件

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim xNewEmail As MailItem
If Item.Class = olMail Then
    Set NewMail = Item
   NewMail.ShowCategoriesDialog
End If
Set xNewEmail = Nothing
End Sub

3。 按 其他 + Q 关闭键 Microsoft Visual Basic应用程序 窗口。

4.每次单击 提交 撰写电子邮件中的按钮, 颜色分类 将显示对话框。 请选择所需的类别,然后单击 OK 按钮。 看截图:

此外,您可以将以下VBA脚本添加到快速访问工具栏,以便在Outlook中轻松将类别分配给外发电子邮件。

1.打开 本次展望会议 代码窗口中,将VBA代码下面的内容复制到“代码”窗口中。

VBA代码2:手动将类别分配给外发电子邮件

Sub SpecifyCategoryforNewEmail()
Dim xNewEmail As MailItem
Dim xItem As Object
Set xItem = Outlook.Application.ActiveInspector.CurrentItem
If xItem.Class = olMail Then
    Set xNewEmail = xItem
    xNewEmail.ShowCategoriesDialog
End If
Set xNewEmail = Nothing
End Sub

2。 按 其他 + Q 退出键 Microsoft Visual Basic应用程序 窗口。

3.创建一个新电子邮件,单击 自定义快速访问工具栏 按钮,然后选择 更多命令 从下拉列表中选择。

4.在 Outlook选项 窗口,您需要:

4.1选择 来自 从中选择命令 下拉列表;

4.2选择 Project1 在左侧的文本框中,然后单击 地址 按钮;

4.3选择 Project1 在右侧框中,单击 修改 按钮,然后将符号按钮修改到宏;

4.4点击 OK 按钮在 Outlook选项 窗口保存更改。 看截图:

5.从现在开始,如果要为正在编写的电子邮件分配类别,只需单击 功能区中的按钮以打开 颜色分类 对话框,然后选择此电子邮件的类别。 看截图:


通过创建规则自动将类别分配给外发电子邮件

如果您想始终为发送给特定收件人的电子邮件分配类别,则以下方法可以为您提供帮助。

1。 点击 规则 > 经理规则和警报 在主页选项卡上。

2.在“规则和警报”对话框中,单击“新建规则”按钮。 看截图:

3.在第一 规则向导 对话框中,单击 将规则应用于我发送的邮件 在选项 从空规则开始 部分,然后单击 下一页 按钮。

4.在第二 规则向导 对话框,检查 发送给人们或公共团体 ,然后在中指定收件人的电子邮件地址 ,最后点击 下一页 按钮。 看截图:

5.在第三 规则向导 对话框,检查 将其分配给类别类别 ,在中选择规则的类别 ,然后单击 下一页 按钮。

6。 点击 下一页 直接在第四个按钮 规则向导 对话框,而不选择任何选项。

7.最后 规则向导 对话框中,根据需要命名规则,然后单击 完成 按钮。 看截图:

从现在开始,向该指定的收件人发送电子邮件时,将自动按特定类别分配电子邮件。


相关文章:

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 Office 带来选项卡式界面,让您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
Comments (6)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi,

I'm trying to organize a team mailbox (outlook). The inbox has some clearly defined subfolders. I'm looking for a way to force senders to this team mailbox (where the team address is either in to or cc) to select a category that is linked to the inbox subfolder structure. Incoming mail should then be directed automatically to its correct subfolder.

List of categories should adapt whenever a subfolder is created, removed or the naming of a exisitng subfolder is changed.

On top of these categories, there should be a "general" category that leads e-mails to the root of the inbox (not all messages might fit in one category or sender might not know in what category his message fits).

Category should be maintained throughout forwarding and replying as long as the team address is being copied in.

If multiple team addresses are included in one mail, sender should select a category for each team address according the categories defined by each team.

Goal is to minimize the effort of manually sorting by the team enhanced overview, increase efficiency of dealing with mail,...

Is this possible in an easy and maintenance friendly manner?

Thanks
This comment was minimized by the moderator on the site
I have same wishlist for my team! Any update on this please?
This comment was minimized by the moderator on the site
I know that this is necroposting but I had the same issue following similar instructions. What I had to do was create a self signed digital certificate for my macro. (located C:\Program Files\Microsoft Office\root\Office16 for my install of Office 365.) Then I saved it. Then I opened up (alt+f11) and under Tools->Digital Signature for the macro I created I signed it with my self signed cert. Then I went to File->Options->Trust Center>Trust Center Settings>Macro Settings and selected "Notifications for digitally signed macros, all other macros disabled". Click okay. Run your macro it'll warn you about it and you select "Trust all macros from this publisher". You can always check the certificate to see if its the correct one too. Hope this helps someone!
This comment was minimized by the moderator on the site
Hi same problem as below. It first worked but after I closed and re-opened Outlook it it didn't work anymore. How do i get the macro to work again and all the time?
This comment was minimized by the moderator on the site
Hi, I had the same problem as John below. I did the auto categorize option when clicking send using VBA code, it worked at first but when I closed and re-opened Outlook it didn't work anymore. I then tried the second VBA method and it created the symbol in the quick tool bar but nothing happens when I click it.
This comment was minimized by the moderator on the site
this i great. i made the macro to manually add by VBA code 2. it worked for about an hour and now the button is still there but it will not assign the category set for it. How do i get the macro to work all the time? thanks
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations