Sending Aborted by Hook
On this page
Problem
You see the following error when attempting to send an email fails:
Email Send Aborted By Hook
Cause
This error indicates that a custom hook has prevented the email from sending.
Troubleshooting
To troubleshoot this error:
- Enable Hooks Debug Mode in the Other tab at Configuration () > System Settings > General Settings.
- Replicate the error again.
- Disable Hooks Debug Mode.
- Review the Activity Log at Configuration () > System Logs.
- Locate the
Email Send Aborted By Hook
error in the log.
After locating the error, look over the adjacent entries for a series of three lines that look similar to the following:
Hooks Debug: Hook File Loaded: /path/to/the/hook_file.php
Hooks Debug: Hook Defined for Point: EmailPreSend - Priority: 1 - Function Name: (anonymous function)
Hooks Debug: Attempting to load hook file: /path/to/the/hook_file.php
The file in the Hook File Loaded
and Attempting to load hook file
entries is the hook responsible for the Email Send Aborted By Hook
error.
Solution
Contact the developer of that hook file for more information.
Last modified: October 30, 2024