Page 1 of 1

sending email from template to other address then customer

Posted: Sun Nov 16, 2008 2:38 pm
by KCarlson
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?

Re: sending email from template to other address then customer

Posted: Mon Nov 17, 2008 3:10 am
by mazhar
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