It's probably a permissions problem. Try creating the file email_list.txt ahead of time, and ensure that its permissions are set so that it's writable by the script.
Don't leave the email_list.txt file there, because anyone can read it from a browser.
A safer method would be to locate the file outside the web root, and put the full path in the line:
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.