Solved

Outlook 2003 Subject Line

Posted on 2010-08-18
1
564 Views
Last Modified: 2012-05-10
I want to make it so every user that sends an email must type something in the subject line. I have a VBS script that works.

"Private Sub Application_ItemSend _
  (ByVal Item As Object, Cancel As Boolean)
    If Item.Subject = "" Then
        Cancel = True
        MsgBox "Please fill in the subject before sending.", _
               vbExclamation, "Missing Subject"
    End If
End Sub
"

I wrote a batch file and added it to a gpo that runs it at login.

xcopy "\\server\Outlook Gpo\VbaProject.OTM" "\\%computername%\C$\Documents and Settings\%username%\Application Data\Microsoft\Outlook"

Within the same GPO I told it to set the macro security level to "Low" and to "Trust all installed add-ins and templates". I have added the Outlook 2003 gpo addon.

I have tested it on several different users, it only works once I go into outlook and tools, macro, security, and goto Trusted Publishers and check the "Trust all installed add-ins and templates". Then my VBS file starts working.

I am confused as of why the GPO isn't doing this for me. I have the VBS file signed by a certificate, and the certificate is also sent to all computers through a GPO (trusted root).

Any ideal why I have to go in and Trust all addins/templates each users profile (Why the GPO isn’t doing that for me)? If there is a registry key that changes then that would be a simple fix, any advise is greatly appreciated!



Side notes (I run gpupdate /force, when I change the gpo, and I have waited a day to be sure the “Trust all installed add-ins and templates” has had enough time to propagate.
0
Comment
Question by:CNBSomerset
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 19

Accepted Solution

by:
Zaheer Iqbal earned 500 total points
ID: 33483471
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't know how to downgrade, my instructions below should be helpful.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question