【问题标题】:VBA outlook - send email and categorize the CC emailVBA Outlook - 发送电子邮件和分类抄送电子邮件
【发布时间】:2015-05-03 02:51:55
【问题描述】:

我一直在使用公共文件夹并在 Outlook 上发送电子邮件。每当我们使用公共文件夹电子邮件地址(例如 info@company.com)发送电子邮件时,我们将抄送 info@company.com。这样我们就可以将电子邮件保存在我们的公共文件夹中。

我创建了一些 VBA 代码来自动发送 Outlook 电子邮件。 我的问题是:当我发送电子邮件而不向收件人显示类别(如。

Sub outlookActivate1()
    Dim OutApp As Outlook.Application
    Dim OutMail As Outlook.MailItem

    Set OutApp = CreateObject("Outlook.Application")


    With OutMail

        .BCC = ""
        .BodyFormat = olFormatHTML

        .Categories = "customer-inquiry"
        .ShowCategoriesDialog
        .Save
        .display

End With

On Error GoTo 0


    Set OutMail = Nothing
    Set oItem = Nothing

End Sub

【问题讨论】:

  • 我会将发送的项目保存到本地邮箱,而不是抄送那里的邮件。这为您提供了更多使用该项目的选项。

标签: vba email outlook categories


【解决方案1】:

不,不是。您可以考虑将用户属性添加到邮件项。请参阅UserProperties 了解更多信息。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-03-20
    • 2013-06-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-09-28
    • 2010-09-25
    相关资源
    最近更新 更多