Outlook 2003 message sent with no subject.

  • Thread starter Thread starter John Hardaker
  • Start date Start date
J

John Hardaker

I find it is possible to send a message with nohting in the subject line.
Outlook Express would warn you but cannot see a way to make Outlook do this.
Have is missed something?
 
There is no such feature, but you can build it in with a little VBA code:

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

For a more elaborate version that also checks for expected attachments, see
http://www.outlookcode.com/codedetail.aspx?id=553
 
Back
Top