On shared hosting with php’s safe mode on, the
sys_get_temp_dir()function used in
/display/processing/attachment-test.phpon line 12 can fail. However, for me, WP’s built-in
get_temp_dir()worked as a replacement.
I don’t know if there is a particular reason not to use the built-in function, but it has fixed a problem for me.
- The topic ‘Possible solution for CSV attachments not being sent.’ is closed to new replies.