Hello,

I have a script that creates a report and emails it to certain people that I've been using for a year but I recently switched hosts. When I run the script in a browser manually it works fine. The problem comes when I schedule the script as a cron job. I get this error:

mail(): Mail header contains implicit recipients.

I know it has something to do with the BCC and CC fields which are both being utilized. Does anyone have an idea on how to fix it? Should i Just removed those fields? I would like to hide the subsidiary recipients which is why i use the BCC.