Jump to content

order received email not sending?


foz1234

Recommended Posts

i noticed about 4-5 days ago my received order email was not being received, I've been relying on the PayPal email for order confirmation until I've had time to look at it,

i noticed the contact us was not working yesterday with red error message, so i fixed the contact us page yesterday and thought that would have fixed the issue with received order email, not sure what the actual problem was i cleaned the cache in the shop, changed my smtp sending port from 26 to 25 with it being locally hosted, but it gets redirected anyway, restarted the server and mail washer etc seem to fix the contact us page. 

but the received order email its still not hitting the server, checked the contact us page and that's working but i have noticed that the captcha is not showing in the contact us page any longer but sends the message without any captcha? its just not showing, clean cache on pc but still not showing. 

its like something has corrupted something, the shop all seems to be working fine.

any ideas where i should start to look? or the quickest option to fix this? my thoughts would be to reinstall cubecart over the excising files to see if this fixes it, unless the problem is MySQL?

i never seem to get any errors showing in system error log?  

thanks

  

Link to comment
Share on other sites

There is a problem with the Admin and Cart Order Received email template. It may be crashing the template rendering engine, especially and specifically if you have ever edited those templates.

If you have edited those templates, then there is a conversation on the forums that talks about removing nested braces.

Link to comment
Share on other sites

19 minutes ago, bsmither said:

There is a problem with the Admin and Cart Order Received email template. It may be crashing the template rendering engine, especially and specifically if you have ever edited those templates.

If you have edited those templates, then there is a conversation on the forums that talks about removing nested braces.

 

Link to comment
Share on other sites

1 hour ago, bsmither said:

There is a problem with the Admin and Cart Order Received email template. It may be crashing the template rendering engine, especially and specifically if you have ever edited those templates.

If you have edited those templates, then there is a conversation on the forums that talks about removing nested braces.

I've never actually change the order received, the only template i have edited was the order complete and that was a good while ago, could this still be causing the problem?

 

Link to comment
Share on other sites

For the customer, yes. Not having edited the Admin: Order Received email, you should be receiving that email, unless (I do not recall which happens first) you have set CubeCart to send an Order Received email at Processing (as opposed to Pending). Then, if CubeCart faults/crashes at sending the customer email, the admin email won't happen either (again, depending which email gets sent first).

In admin, Store Settings, Advanced tab, click the Test button and see what happens.

Link to comment
Share on other sites

Then we can eliminate everything outside of CubeCart as a suspect.

That leaves making sure you have made the fix with respect to the nested braces as having edited that email template may be causing the template rendering engine to crash - thus no email having been sent.

Link to comment
Share on other sites

7 minutes ago, bsmither said:

Then we can eliminate everything outside of CubeCart as a suspect.

That leaves making sure you have made the fix with respect to the nested braces as having edited that email template may be causing the template rendering engine to crash - thus no email having been sent.

thanks again Bsmither for your fast reply

where do i replace the code? thanks

Should be replaced with this:

</table>
{if !empty({$DATA.note_to_customer})}
<p>&quot;{$DATA.note_to_customer}&quot;</p>
{/if} 
Link to comment
Share on other sites

i have changed the source code now to 

</table>
{if !empty($DATA.note_to_customer)}

<p>&quot;{$DATA.note_to_customer}&quot;</p>
{/if}

and the plain text looks like this hopefully this is correct? 

{if !empty($DATA.note_to_customer)}
        "{$DATA.note_to_customer}"{/if}

hopefully that's correct

i will forever be in your debt thank you

I've just noticed the captcha is back in the contact us page now :)

 

Link to comment
Share on other sites

  • 2 weeks later...

i am still getting this problem where i do not receive all my received order email to admin email, i get some but not everyone, about 1 in 3 i seem to get.

i have checked all email templates and i have only edited the order complete template as stated above, if i run a test email it gets received every time.

any other thoughts? i must add that the problem seem to start about 4 months on from when i edited the completed order email which i find most odd.

thanks

 

Link to comment
Share on other sites

i have imported clean email templates i will test this now to see if this sorts the problem out..

added:- ok its not the email templates causing the problem, I've just received another order but no email from cc confirming it only PayPal.

anybody any ideas ? I've eliminated the email templates now as there new untouched imported templates, I've eliminated my email with sending a test mail as stated above that goes through every time. i am now stumped as i thought it must have been an issue with template..

thanks in advance

Link to comment
Share on other sites

No body any other ideas about my problem?

would it help me or cause me more problems if i upgraded/reinstalled 6.0.12 over 6.0.12 like a upgrade ?

thanks

Added... I've noticed the captcha is missing in ie browser from the contact us page but still sends without one? should this send without one?

if i clean ie cache it's back and is required before it will send. 

 

Link to comment
Share on other sites

Once CubeCart has an established session, and has accepted a Captcha challange, CubeCart no longer requires any more captchas for this session. So, having logged out or having told your browser to clear out any cookies for this site, the session is no longer established. Thus, CubeCart will display the captcha challenge again.

Getting every odd email from CubeCart, and suspecting CubeCart, would require a deep trace of program flow to see what is and is not happening.

We can work on this offline. If you want, send me a PM with your email address.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...