Page 1 of 1

Adding object to automatically sent email templates

Posted: Wed Apr 23, 2008 9:54 pm
by bratta
I don't have much hope with this one, but I guess it's worth a try so here it goes:

When sending an email manually through the admin I have added a few more input parameters to the email templates in preview.aspx.cs because I need to display information inside the emails from objects that are not part of ablecommerce. This works nicely, the nvelocity thingy is really sweet, but of course those objects are not added when email are sent automatically, there isn’t by any chance a way I can hook into that?

If not; is the source-code available yet (it wasn't when I ordered)

Cheers,

-Thomas-

Re: Adding object to automatically sent email templates

Posted: Sun Apr 27, 2008 12:36 am
by AbleMods
I haven't seen a way to implement what you describe. I've accomplished it through my own programming, but only by manually firing an email through my code. I could not "hook into" the automated email triggers.

There has to be a way to do it, many of the aspects of an email triggered template are stored in tables in the SQL database. I just haven't taken the time to trace through the table relationships and document it.