Hi,
We are trying to include a separate PHP script upon form submission. We've done this successfully with your module on other websites running Joomla 3, but this website is running Joomla 4 and we can't get it to run the external file.
This is what we've got:
include('/customcode/bookingemail.php');
We've stripped back the external file for test purposes and it just has a simple mail() command in.
We've checked the path to the external file is correct, and that it has 755 permissions.
Do you have any advice please?
Thanks,
Chris