That line in the txnewsletters.class.inc.php file is
$headers .= 'Content-Transfer-Encoding: 8bit'. "\n\n";
then the next line adds more to the headers. Unless I’m mistaken, the double newline should come at the end of the header, to separate it from the body of the email. I think that next line is an error; I’m not sure, but I think that is actually the body of the email and should not be included in the header.
http://il.php.net/manual/en/function.mail.php
Is anybody actually using this? It very much looks to me like it’s being sent with the "to" and the "message" in the headers! It’s supposed to be
mail($to, $subject, $message, $headers);
but the function in txnewsletters looks like this
mail('', $subject,'', $headers);
On top of that, the documentation has this to say:
Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient.