Problem with CustomAction in VBScript
Posted on 2002-04-24
In general, I can't interact with NewItem (the new mail item created after the user click on the action button from the current item).For example this simple code that should add a small message to the body of NewItem doesn't work :
Function Item_CustomAction(ByVal Action, ByVal NewItem)
Select Case Action.Name
set NewItem =Application.ActiveInspector.CurrentItem (same result if I remove this line)
NewItem.Body = "test"
I would be very grateful if anyone could help me this this issue. Thank you very much.