By Krythis on
I recently noticed that all email coming from my Drupal 5.23 site is having the carriage returns stripped off. My dev site is nearly identical to the production site and yet has no issues at all. I've looked over all the modules installed on each and don't notice any significant difference that would impact mail. I've tested eCommerce as well as the default new user email and both came as one long string.
The dev site is hosted by the same company, but on a slightly different set up. The dev site has PHP 5.2.9 installed whereas the production site has 5.2.14. Don't know if this makes any difference.
Does anyone having any ideas on where to begin to troubleshoot this issue?
Thanks
-Justin
Comments
Bumping out of desperation
Bumping out of desperation :o(
This error was found in the middle of installing a new module I wrote on the dev site so I would like to get it worked out ASAP. It was there before hand, but not is more apparent now as this new module sends email notifications.
Finally found it! What a pest
Finally found it! What a pest this one was, anyhow...
Poked around the drupal_mail function in /includes/common.inc and noticed that it checks variable 'smtp_library' and sure enough a module(Mime Mail) I tested long ago had set the smtp_library variable and doesn't have an uninstall for the module so it was still sitting in there. After deleting I needed to clear the cache tables and voila Drupal mail is working again.