Page 1 of 1

Email templates not being sent

Posted: Fri May 21, 2010 12:28 pm
by owain.jones@cmc.ca
I cannot get any email templates to send. In the "Configure Email Settings" page I have entered our SMTP server and when I test it here it works, but it will not send the email templates.

I have a template "Customer Order Notification" with a trigger on "Order placed" with:

To: customer
From: info@cmc.ca
CC: owain@cmc.ca

I have the CC to see if anything gets send out, but I do not receive an email either. Is "customer" correct or does it need to be "${customer}.Email" or something and what other settings or code can I look at to resolve this problem.

Thanks,

Owain

Re: Email templates not being sent

Posted: Fri May 21, 2010 12:39 pm
by Shopping Cart Admin
Hello Owain,

customer is correct. It should just be working, especially since the test email works. You might check your junk mail folder to see if the email is there to start with.

Re: Email templates not being sent

Posted: Fri May 21, 2010 1:28 pm
by mikek
Hello,

In the email settings make sure that "Update Existing Templates" checkbox is being checked. This will update all template emails with the correct email address otherwise the default template
email address will be used (the default email is usually xyz@yourcompany.com)

Re: Email templates not being sent

Posted: Tue May 25, 2010 11:09 am
by owain.jones@cmc.ca
It turns out there was an nvelocity parsing error which is described in this thread: viewtopic.php?f=44&t=12918

The problem I have now is that I do not know how to restore the email template (I don't see this option anywhere and do not know where to find the originals).

Owain

Re: Email templates not being sent

Posted: Wed May 26, 2010 4:30 am
by mazhar
Simply extract the AbleCommerce standard install package, copy file Customer Order Notification and replace the one under your Website/App_Data/EmailTemplates/1/ folder with this one. That's it.