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)
2. Press Alt+F11. It opens VisualBasic Editor. (Tools -> Macro -> VisualBasicEditor)
3. On the Left Pane, you can see "Microsoft Outlook Objects". Expand this.
(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.
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".
10. You will be notified about a security concern. See the image below.
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