Monday, November 22, 2010

Forgot To Mention Subject In Mail..?


In this post we are going to talk about Outlook Express. A built in email client in windows operating system., which is used to send and receive emails. Incase you don't know How to use Outlook Express., Go here and learn everything about OutlookExpress.

Forgot to mention subject while writing an Official Mail and feel bad later...? Yes. It's a concern for all... A mail without a subject brings a bad impression on us. To avoid this, just follow the simple steps mentioned below and see the result.

Here are the steps: -
1. Open your Outlook. (Start - > ALL Programs -> Microsoft Outlook)

Image Loding...

      Outlook Express
Outlook Express Main Window
2. Press Alt+F11. It opens VisualBasic Editor. (Tools -> Macro -> VisualBasicEditor)
3. On the Left Pane, you can see "Microsoft Outlook Objects". Expand this.

Image Loding...

      Outlook Express.
Project Explorer in Outlook Express
(If you don't find MicrosoftOutlook Objects., then press Ctrl+R)
4. Double Click "ThisOutLookSession".
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


6. Save this and now close the VB Code editor.

Image Loding...

      Outlook Express.
Visual Basic Code Editor in Outlook Express
There is one more setting you need to do, and that is to enable the macro.
7. Go to Tools->Macro->Security.
8. Select "Warning for all macro options".

Image Loding...

      Outlook Express.
Enable "Warning for all macro options" in Trust Center.
9. That's it.. Close your Outlook and open it again.
10. You will be notified about a security concern. See the image below.

Image Loding...

      Outlook Express.
Click Enable Macros in Outlook Security Notice.
11. Click on Enable Macros.

Now, try to send an mail with an empty subject line. Enjoy...
Note : Only in windows 9x and Windows XP has the outlook express as built-in email client. Unfortunately Outlook Express was replaced by Windows Mail in Windows Vista, but with the release of Windows 7 even that has disappeared.

No comments:

Post a Comment

Innovative ways to fight against malware

Keep The Operating System Updated: The first step in protecting your computer from any malicious there is to ensure that your operating sys...