Outlook 2010 prompts for Subject if left blank. Can this be changed.

Outlook 2010 pops up a warning if the subject line is left blank.  Can this feature be turned off or disabled.
athompson99Asked:
Who is Participating?
 
JamesGoldenCommented:
You are right, to be able to turn it off in the Outlook 2010, you need an Exchange 2010 server.  However someone who was really inventive and good at coding came up with his won solution:

You can check the posting here:

http://community.spiceworks.com/topic/106185

but for easy reference the code is attached.  Some notes here:

You have to force macros and enable security

You also will need to restart outlook.







Option Explicit

'=========================================================================
' Prevents Outlook® 2010 to display a no-subject warning message
' (c) Peter Marchert - http://www.outlook-stuff.com
' 2010-07-15 Version 1.0.0
' 2010-07-19 Version 1.0.1
'=========================================================================

Private WithEvents colInspectors As Outlook.Inspectors

Private Sub Application_Startup()

'---------------------------------------------------------------------
' Set a reference to all forms
'---------------------------------------------------------------------
Set colInspectors = Outlook.Inspectors

End Sub

Private Sub colInspectors_NewInspector(ByVal Inspector As Inspector)

'---------------------------------------------------------------------
' This code is running if a form (e. g. an e-mail) will be opened
'---------------------------------------------------------------------

Dim objItem As Object

'---------------------------------------------------------------------
' Skip errors
'---------------------------------------------------------------------
On Error GoTo ExitProc

'---------------------------------------------------------------------
' Set a reference to the open item
'---------------------------------------------------------------------
Set objItem = Inspector.CurrentItem

'---------------------------------------------------------------------
' A new item does not have a received time
'---------------------------------------------------------------------
If Year(objItem.ReceivedTime) = 4501 Then

'-----------------------------------------------------------------
' Check if the subject is empty if an e-mail was created by a
' template with predefined subject.
'-----------------------------------------------------------------
If objItem.Subject = "" Then objItem.Subject = " "

End If

ExitProc:

'---------------------------------------------------------------------
' Delete the reference to the form and to the item
'---------------------------------------------------------------------
Set objItem = Nothing
Set Inspector = Nothing

End Sub

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)

On Error Resume Next

'---------------------------------------------------------------------
' If the blank still exists it will now be removed (Outlook®
' will this not recognize)
'---------------------------------------------------------------------
Item.Subject = Trim(Item.Subject)

End Sub

Private Sub Application_Quit()

'---------------------------------------------------------------------
' Delete the reference to the forms
'---------------------------------------------------------------------
Set colInspectors = Nothing

End Sub

Open in new window

0
 
DarksquireCommented:
Go into File tab, click Options, then in Mail tab of Outlook Options box, under MailTips, click MailTips Options and then click "Never Display MailTips".
0
 
athompson99Author Commented:
I've seen this suggestion before, however I cannot locate a Mail Tips Option in Outlook 2010.  See attached file.
Document1.pdf
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
athompson99Author Commented:
Mail Tips only seem to be an option if Exchange 2010 is being used.  We use Outlook 2010 with Exchange 2007.
0
 
athompson99Author Commented:
Use Alt - F11 to enter Outlook VBA, open this outlook session.  Paste code and save.  Restart Outlook.
0
 
AllanMackenzieCommented:
We have Exchange 2010 and Outlook 2010.  I tried the "Never Display Mailtips" suggestion, but that solution does not work.  Even if it did work, do you really want to disable all the other warnings that Mailtips provides?

The VBA code does work, however, I am concerned about enabling macros.  

Just wondering if anyone with Exchange 2010/Outlook 2010 has tried the the "Never Display Mailtips" solution and seen it work; and how they handle security after enabling macros to let the VBA solution do its thing.  Thanks,
0
 
JamesGoldenCommented:
Good question.  I have seen this posted several time around the net.  Originally I could not try it myself as I was running outlook 2007 with exchange 2003, but i recently moved my account to our 2010 server and upgraded to office 2010.  And it seems like the answer above does not work.  I am guessing if you haven't already figured it out you should post a question to get an to answer it.  Everyone likes points around here. :-)  Usually you will not get responses to posts on a closed question.
0
 
Alexei KuznetsovMicrosoft Outlook MVPCommented:
There is also a free tool to fix it:
http://www.reliefjet.com/Product/Features/OutlookTweaks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.