Emails are not being sent after orders

zeend

No avatar

2010-02-10 19:54

Hello all,

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..

thanx in advance

» Quick.Cart v3.x

beholder

Avatar: beholder

2010-02-11 02:29

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

No avatar

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.

Is there any idea how to solve it?
Thanks

LosTrubkos

No avatar

2010-02-11 17:39

I forgot to say, that I use the Quick.Cart v2.4

beholder

Avatar: beholder

2010-02-11 18:30

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

No avatar

2010-02-12 09:56

I tried the QC 3.5 free and it works perfectly

LosTrubkos

No avatar

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

beholder

Avatar: beholder

2010-02-12 16:15

good find: is it perhaps an encoding problem with the content of the $sTitle variable? What language do you use in your webshop?

beholder

Avatar: beholder

2010-02-12 16:20

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.

Back to top
about us | contact