Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to catch the deletion and the servicename of a custom mailhandler?

Francesco R
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 1, 2019

Hello.
I created my custom mail handler that implements MessageHandler interface.
It’s working well, but I’m not able to do 2 things on it.

  1. to get the related service name
  2. To catch its deletion from administrator configuration page.

I added further configuration fields in its configuration dialog and I’m able to get them through the parameter field passed to init() function of the handler.
To get the service name, maybe I should add some function in my related MyHandlerDetailsWebAction extending AbstractEditHandlerDetailsWebAction ?

Moreover, since I’m using ActiveObjects to store some configuration datas of my handlers, when I delete a mail handler I need to delete the related row from the table of the AO that I’m using. But I’m not able to catch the deletion of my custom handler when I do it from the administrator page.
The handler is correctly deleted but I’m able to catch the deletion. What am I missing ?

Thanks.
Francesco

0 answers

Suggest an answer

Log in or Sign up to answer