Development Guides Home >> Guide to Standardized Hooks >> Hookable Events
The scripts category's events occur when email scripts run.
This event takes place when the /usr/local/cpanel/scripts/addpop script creates the email account.
- Action code runs as:
root - Blocking attribute: Available.
- Escalate privileges attribute: Unavailable.
pre— Hook action code runs before theaddpopscript creates the email account.post— Hook action code runs after theaddpopscript creates the email account.
The pre and post stages do not produce output.
This event takes place when the /usr/local/cpanel/scripts/delpop script deletes the email account.
- Action code runs as:
root - Blocking attribute: Available.
- Escalate privileges attribute: Unavailable.
pre— Hook action code runs before thedelpopscript deletes the email account.post— Hook action code runs after thedelpopscript deletes the email account.
The pre and post stages do not produce output.