PDA

Click to See Complete Forum and Search --> : [RESOLVED] Outlook 2003 Item.Send read only


snirhe
Mar 6th, 2006, 09:42 AM
Hi,

I've created an Outlook form.

In the "Item_Send" event I use the next command:

"Item.Send = False" in order to cancel the sending (under certain conditions).

These works fine in Outlook 2000, but not in 2003!!!

Any ideas?

RobDog888
Mar 6th, 2006, 11:02 AM
I think the event is this way and should be canceled by the Cancel parameter.
Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
If something = true then
Cancel = True
End if
End Sub

snirhe
Mar 7th, 2006, 01:28 AM
Thanks a lot

RobDog888
Mar 7th, 2006, 01:43 AM
np, but in order to Resolve your thread you need to either edit the first post or use the thread tools Mark Thread as Resolved menu item.

snirhe
Mar 7th, 2006, 02:17 AM
Will it work on Outlook 2000 as well?

RobDog888
Mar 7th, 2006, 02:21 AM
Yes, here s the description of it in 2000.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000/html/olevtitemsend.asp