• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

Is there a way to set up so that I could be alerted if there is no subject on email before I send.

Hi,

I'm using Outlook 2007.  Is there a way to set up so that I could be alerted if there is no subject on email before I send.

Regards
Shaath
0
bsharath
Asked:
bsharath
  • 4
  • 4
1 Solution
 
SheharyaarSaahilCommented:
here is a VB code which works with Outlook 2003, you can try checking if it can work with outlook 2007 too?
http://vsivakumar.wordpress.com/2006/02/13/outlook-blank-subject-warning/
0
 
bsharathAuthor Commented:
Any other link.This does not open...
0
 
SheharyaarSaahilCommented:
opens fine with me.....do you want me to copy paste the contents here?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
bsharathAuthor Commented:
Yes please...
0
 
SheharyaarSaahilCommented:
ok it goes something like this.....

----------START------------

The following code is courtesy email forwards.

Are you forgetting to include a subject while sending an Email through Outlook? well, follow the steps:

1.      Open your outlook

2.      Press Alt+F11. This opens the Visual Basic editor

3.      On the Left Pane, one can see Microsoft Outlook Objects or Project13, expand this. Now one can see the ThisOutLookSession.

4.      Double click on ThisOutLookSession. It will open up a code pane.

5.      Copy and Paste the following code in the right pane.(Code Pane)

============================================================================

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

    Dim strSubject As String

    strSubject = Item.Subject

    If Len(Trim(strSubject)) = 0 Then

        Prompt$ = Subject is Empty. Are you sure you want to send the Mail?

        If MsgBox(Prompt$, vbYesNo + vbQuestion + vbMsgBoxSetForeground, Check for Subject) = vbNo Then

                Cancel = True

        End If

    End If

 End Sub


Also, I googled and found the follwing tips for Outlook express. ( I have not tried this)

http://support.microsoft.com/?kbid=216884


-----------END-----------
0
 
bsharathAuthor Commented:
When i try to run the macro.It asks for the Macro name.Can you set the macro name in the script.
0
 
SheharyaarSaahilCommented:
im not the one who wrote this macro.....can't even understand what he is doing there :)
0
 
bsharathAuthor Commented:
Ok :)

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now