Titus classification pop up in VBA (outlook item)

AutoMacroGuru

New Member
Joined
Aug 19, 2020
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello,
I am currently trying to send automatic emails in an excel workbook, but every time an email is sent, since my company is subject to TITUS classification, I have to manually select it in a pop up.

I use a regular outlook protocol to send emails
I have not been able to find anything to have the classification automatically selected. It would always be internal. There must be a solution but I don’t know where to look anymore.
Please find below a model of the code used to send the email.
VBA Code:
Sub MailOutlook()
    Dim objOutlook As Object
    Set objOutlook = CreateObject("Outlook.Application")
    
    Dim objEmail As Object
    Set objEmail = objOutlook.CreateItem(olMailItem)

    With objEmail
        .To = "someone@somewhere.se"
        .Subject = "This is the subject"
        .Body = "This is the body of the email"
        .Send
    End With   
End Sub

Thanks, waiting for ANY insight :/
AutoMacroGuru
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
If your emails don't need a classification, just disable the plug-in for the email distribution.
The easiest is to do that through Outlook: File -> Options -> Add-ins -> Mange: COM Add-Ins -> Go remove the checkbox for the Titus plugin.
afterwards you can enable the plugin again.
If you need a better solution, let me know.
 
Upvote 0

Forum statistics

Threads
1,223,882
Messages
6,175,165
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top