I want to get alert if i miss subject while sending a new mail

G

Guest

Hi,

How do I get an alert message from Microsoft Outlook if I forget to type
subject while sending a new mail message?

Please advice me.

Thanks and regards,
Purushothman
 
A

AndreasRoeder

subject said:
Hi,

How do I get an alert message from Microsoft Outlook if I forget to
type subject while sending a new mail message?

Please advice me.

Thanks and regards,
Purushothman



Hi,
you can do it by using vba
copy and paste this code
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)

If IsNull(Item.Subject) Or Len(Item.Subject) = 0 Then
MsgBox "Subject is emtpy!!!", vbCritical, "Outlook Subject"
Cancel = True
End If
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top