sending email from template to other address then customer

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
KCarlson
Lieutenant (LT)
Lieutenant (LT)
Posts: 71
Joined: Mon Dec 13, 2004 5:35 pm
Location: Santa Barbara, CA
Contact:

sending email from template to other address then customer

Post by KCarlson » Sun Nov 16, 2008 2:38 pm

We have some customizations that require us to send the customer interactions to the bill-to e-mail address, not the general address accessed by the customer keyword. I have tried all kind of variations on $users.PrimaryAddress.Email and the like and cannot seem to get any of them to work. Are the nvelocity variables accessible in the To Address(es) field for email templates?

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

Re: sending email from template to other address then customer

Post by mazhar » Mon Nov 17, 2008 3:10 am

You can send the Email template manually by setting its ToAddress. For this first you will need to load the template then provide the Email address and parameters information (skip the customer parameter) and finally send the template. Have a look at the following post about manually sending the Emails through Email Templates.
viewtopic.php?f=42&t=8571

Post Reply