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
Email templates not being sent
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 36
- Joined: Fri Feb 05, 2010 3:02 pm
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: Email templates not being sent
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.
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
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)
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)
Mike Kolev
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 36
- Joined: Fri Feb 05, 2010 3:02 pm
Re: Email templates not being sent
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
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
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.