Solved

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

Posted on 2010-08-13
9
751 Views
Last Modified: 2012-05-10
Outlook 2010 pops up a warning if the subject line is left blank.  Can this feature be turned off or disabled.
0
Comment
Question by:athompson99
9 Comments
 
LVL 9

Expert Comment

by:Darksquire
Comment Utility
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
 

Author Comment

by:athompson99
Comment Utility
I've seen this suggestion before, however I cannot locate a Mail Tips Option in Outlook 2010.  See attached file.
Document1.pdf
0
 

Author Comment

by:athompson99
Comment Utility
Mail Tips only seem to be an option if Exchange 2010 is being used.  We use Outlook 2010 with Exchange 2007.
0
 
LVL 5

Accepted Solution

by:
JamesGolden earned 500 total points
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 5

Expert Comment

by:JamesGolden
Comment Utility
0
 

Author Closing Comment

by:athompson99
Comment Utility
Use Alt - F11 to enter Outlook VBA, open this outlook session.  Paste code and save.  Restart Outlook.
0
 

Expert Comment

by:AllanMackenzie
Comment Utility
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
 
LVL 5

Expert Comment

by:JamesGolden
Comment Utility
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
 
LVL 13

Expert Comment

by:Alexei Kuznetsov
Comment Utility
There is also a free tool to fix it:
http://www.reliefjet.com/Product/Features/OutlookTweaks
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

My experience with Windows 10 over a one year period and suggestions for smooth operation
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now