how to disable "forward" and "replyall" on an email programitcally?
Assuming this is in a custom form you already have, go into design mode
and click the actions tab. Select the action you want to modify and
delete or disable it. You get the option to delete it right from the
table display, but you have to open the properties to find the
enable/disable checkbox, which is in the upper-right corner of the
properties panel. Uncheck the box to disable the action.