[SOLVED] How To Email Call Recordings Post Call Recording Script

If someone who has gotten this to work could post the last few resultant log file lines so others can compare with theirs it would be much appreciated.

Here is mine. The app_mixmonitor.c seems to be ending the recording after executing the email script. Is this normal?

NOTE: I know there are no FREEPBX passed variables; I was testing with a hard-coded email to see what was broken and why my emails aren’t being sent by the script.

UPDATE: The script works as intended when called directly from command line. This leaves only the possibility that the server is preventing the complete execution somehow for some reason. As noted above, file-dependent variables are not factors.