Email templates not being sent

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
owain.jones@cmc.ca
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 36
Joined: Fri Feb 05, 2010 3:02 pm

Email templates not being sent

Post by owain.jones@cmc.ca » Fri May 21, 2010 12:28 pm

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

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: Email templates not being sent

Post by Shopping Cart Admin » Fri May 21, 2010 12:39 pm

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.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

User avatar
mikek
Commander (CMDR)
Commander (CMDR)
Posts: 112
Joined: Wed Oct 15, 2008 9:30 pm
Location: Boston, MA
Contact:

Re: Email templates not being sent

Post by mikek » Fri May 21, 2010 1:28 pm

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)
Mike Kolev

owain.jones@cmc.ca
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 36
Joined: Fri Feb 05, 2010 3:02 pm

Re: Email templates not being sent

Post by owain.jones@cmc.ca » Tue May 25, 2010 11:09 am

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Email templates not being sent

Post by mazhar » Wed May 26, 2010 4:30 am

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.

Post Reply