Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: how to set outlook 2003to cannot send mail without subject,attachm

Geek News

how to set outlook 2003to cannot send mail without subject,attachm
venu 10/26/2008 12:05:00 PM
how to set outlook 2003to cannot send mail without subject,attachment at
client side
RE: how to set outlook 2003to cannot send mail without subject,attachm
Alan Moseley 10/27/2008 2:40:05 PM
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:

[Quoted Text]
> how to set outlook 2003to cannot send mail without subject,attachment at
> client side
RE: how to set outlook 2003to cannot send mail without subject,att
venu 10/27/2008 2:50:01 PM
Thanks a lot for your responce its working.

"Alan Moseley" wrote:

[Quoted Text]
> 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

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net