I used Ubercart and Phpmailer on D6. Phpmailer was sending emails and has a handy option debug_email where all emails sent by Drupal redirects to the one email specified (good for development).

But now tried on D7 Ubercart 3.4 and Phpmailer and situation has changed. For some reason all Ubercart emails arent sent through Phpmailer unlike other options (ie notifying user when you create an account for him).
In Rules it was set to send one email of Order to admin and one to user. Emails used there in receipient field are [order:mail] tokens.

But, instead to send those emails through Phpmailer, which takes over sending Drupal emails, Ubercart emails are sent on some other way. I can clearly see in mail headers that its sent by www-data from mail.inc instead Phpmailer.

So, is there some change in how you prepare and send Ubercart emails? Because only UC is making this problem.

I also asked question and provided some debugging info in Phpmailer issue too: http://drupal.org/node/1996764

Any help is appreciated. If needed more info to provide, let me know.

Comments

tr’s picture

Status: Active » Fixed

Please search this forum for phpmailer and read up on how phpmailer destroys the Drupal mail_system setting, which breaks any other module (like Ubercart) that uses mail_system. Those threads contain fixes you can use to recover from this damage.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.