im trying to fix a problem im having with emails after orders. Simply put, after an order only the admin receives an email. The send order to client plugin is installed, and the same code works on a different website i implied it. Even without modifications to the code, the client never receives an email.
Is there anyone here that has had the same problem, without something seeming to be wrong..
this could be problem we had on a german server. The problem was with field From: in the mime email headers, the from header required to have address to be there twice, so the whole generated line looked like: From: ddd@ddd.com; ddd@ddd.com
It took me a long time to debug this problem, perhaps you have something similar. The problem basically stems from problematic spoofing of sender address, some server software may not allow it.
LosTrubkos
2010-02-11 17:38
hi, I have the same problem, when someone places the order it calls: "Warning: mail() [function.mail]: Bad parameters to mail() function, mail not sent. in /data2/hairbeau/html/plugins/sendOrderToClient/actions_client.php on line 61" (in different webhosting server it works without any problem)
I tried to replace part "from:".EMAIL with the 'from: your@email.xx' and it doesn't work either.
LosTrubkos (funny nick btw) >> please try with latest QC 3.5 and report back, perhaps then it will be worth checking closer. Please do a small test, it will take you just 15 minutes.
LosTrubkos
2010-02-12 09:56
I tried the QC 3.5 free and it works perfectly
LosTrubkos
2010-02-12 13:33
Problem is with parameter $sTitle in function mail() in ../plugins/sendOrderToClient/actions_client.php. If I replace this parameter($sTitle) for 'any text' then it works
or perhaps $sTitle is empty. The surest way to find out is to do this: print "-- ".$sTitle; exit;
add it right before the mail() function at plugins/sendOrderToClient/actions_client.php
That way you get printed "-- " and whatever $sTitle is and then the script will halt execution (so you can see what is printed on the screen). If you see only "--" then the $sTitle is empty.