[eluser]TheFuzzy0ne[/eluser]
Have you tried just printing the contents of the file you need to send? I'm wondering if you need to run the filename through something like this first:
Code:
$filename = strtr($filename, array(
"'" => "\\'",
'"' => '\"',
" " => "_"
));
That'll replace spaces with underscores and escape single and double quotes.
EDIT: Also:
Code:
$config['remove_spaces'] = 'true';
$config['overwrite'] = 'true';
You should use TRUE here, and not 'true'. Then you shouldn't have to replace spaces with underscores manually.
You can also echo $this->email->print_debugger() after the message has been sent, to see if the problem is not anything obvious.