![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
how to set outlook 2003to cannot send mail without subject,attachment at
client side |
#2
|
|||
|
|||
![]()
Insert the following code into your ThisOutlookSession code window.
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim mi As MailItem Set mi = Item If mi.Subject = "" Or mi.Attachments.Count = 0 Then Cancel = True End If set mi=Nothing End Sub -- Alan Moseley IT Consultancy http://www.amitc.co.uk If I have solved your problem, please click Yes below. Thanks. "venu" wrote: how to set outlook 2003to cannot send mail without subject,attachment at client side |
#3
|
|||
|
|||
![]()
Thanks a lot for your responce its working.
"Alan Moseley" wrote: Insert the following code into your ThisOutlookSession code window. Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim mi As MailItem Set mi = Item If mi.Subject = "" Or mi.Attachments.Count = 0 Then Cancel = True End If set mi=Nothing End Sub -- Alan Moseley IT Consultancy http://www.amitc.co.uk If I have solved your problem, please click Yes below. Thanks. "venu" wrote: how to set outlook 2003to cannot send mail without subject,attachment at client side |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Runtime error when using SaveAsFile method to save Outlook attachm | confused2 | Outlook and VBA | 7 | September 1st 08 07:29 AM |
User created distribution list not visible after upgrading from 2003to 2007 | gctriveni@gmail.com | Outlook and VBA | 1 | May 2nd 08 07:23 AM |
Converting an email in HTML format to another for printing attachm | Frank | Outlook - Installation | 1 | November 15th 06 07:43 PM |
outlook subject line - first letter disappears on send | Beth | Outlook - General Queries | 9 | September 27th 06 04:39 PM |
Outlook Macro to Modify Subject and Send Message | jaysonsch | Outlook and VBA | 4 | September 27th 06 05:48 AM |