![]() |
Support eCharcha.Com. Click on sponsor ad to shop online! |
|
Notices |
How to Stuck for an answer to "How to do .."? |
![]() |
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
![]() Hi,
Sometimes we forget to put the SUBJECT in the mails which we send. That could be deadly sometimes when you are communicating to the clients; to avoid such a situation, follow the steps below. There after when you send a mail without subject, a pop up window asks for your confirmation. You can try it ! 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", expand this. Now one can see the "ThisOutLookSession". 4.Click on "ThisOutLookSession". 5.Copy and Paste the following code in the right pane. (Code Pane) Code:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim strSubject As String strSubject = Item.Subject If Len(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. 7.In Outlook Go to Tools > Macros > Security > In the Security Level Tab > Select the option MEDIUM > OK 8.Now Restart the Outlook, a dialog box pops up to Disable / Enable the macros; select as Enable Macros (this option will pops up when ever you restart outlook. 9.From now on , this macro will make sure you do not make the mistake of sending a mail without subject That's it! Last edited by echarcha; March 27th, 2006 at 01:09 PM. |
#2
|
||||
|
||||
Re: How to prevent Outlook from sending an email with a blank Subject line?
Quote:
![]() When I looked at my Outlook's Tools --> Macros --> Security, it was high. Is it safe to keep it at the medium level ? |
#3
|
||||
|
||||
Re: How to prevent Outlook from sending an email with a blank Subject line?
I think you can do the same trick with Outlook Rules too rather than messing with VB Scripts.
![]() ![]() |
#4
|
||||
|
||||
Re: How to prevent Outlook from sending an email with a blank Subject line?
Quote:
|
#5
|
|||
|
|||
Re: How to prevent Outlook from sending an email with a blank Subject line?
Quote:
|
#6
|
||||
|
||||
Re: How to prevent Outlook from sending an email with a blank Subject line?
My mistake. I thought you wanted to block email addresses with blank subject line inside. Sorry.
![]() ![]() |
#7
|
||||
|
||||
Re: How to prevent Outlook from sending an email with a blank Subject line?
I see a lot of folks landing on our technical How To pages.. Good to know
![]() |
#8
|
|||
|
|||
Re: How to prevent Outlook from sending an email with a blank Subject line?
Quote:
Hi It would be nice if u can provide the macro to prevent Outlook from sending an email without attachments ( mails which are intended for some attachments but sender usually forgets to attach the files ) ![]() |
#9
|
||||
|
||||
Re: How to prevent Outlook from sending an email with a blank Subject line?
Not every mail has to have an attachment, and Outlook can't really read your mind to know you intended to attach a file.
__________________
() => new Beer(); |
![]() |
Bookmarks |
Tags |
blank subject, email, empty subject, microsoft, microsoft outlook, prevent empty subject, subject |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to prevent Outlook from sending mail without attachments ? | dirtyfellow | How to | 18 | February 24th, 2011 06:55 AM |
Outlook Express-Subjetc line with **SPAM** | Budmaas | Computing | 9 | June 2nd, 2010 12:19 AM |
Oh those chain email letters.. Forward this email to 10 people or else | echarcha | Computing | 3 | October 3rd, 2005 04:55 AM |
One line questions, deserve a one line answer! | vme | SoapBox | 36 | June 21st, 2002 05:37 AM |
10 things to do ::: When u get a blank Call | HindiIndy | Life Abroad | 2 | October 19th, 2001 11:33 AM |