Community » Forums » Spark - Spark > Email Templates
October 27, 2009 3:20:23 PM PDT (39 weeks ago). Seen 512 times.
Photo Marko Gargenta
Marakana, Inc.
Member since Jan 19, 2007
Location: San Francisco
Posts: 90
Spark sends numerous emails to both staff as well as customers, participants, and other parties involved in your business.

The templates are fully customizable via Settings in the Spark Admin.

To figure out which template to update, here's the naming convention:

email.template.<module>.<extension>

So:

All email templates start with email.template, so you can search just for that via Search box.

All templates have a <module> that will give you a good idea when it's being used.

<extension> is one of the following:
- subject: simply the email subject
- body.txt: text version of the email body
- body.html: HTML version of the email body

So, for example, if you want to change email that is sent to participants when they register, you'd edit:

email.template.registration_info.subject to change the subject of that email
email.template.registration_info.body.html to set the HTML version of email body
email.template.registration_info.body.text to set text version of email body

The email body is composed using FreeMarker, an open source templeting engine which should be easy to figure out.

Cheers,
Marko
Edited one time. Last edit by Marko Gargenta on Jun 15, 2010 at 1:39:07 AM (about 5 weeks ago).
January 26, 2010 4:25:11 PM PST (26 weeks ago)
Photo Aleksandar Gargenta
Partner
Marakana, Inc.
Member since Jan 19, 2007
Location: San Francisco
Posts: 72
Here is a explanation of our current email templates and their triggers:

email.template.affiliate_conversion - sent to affiliate when an end-user that came from the affiliate's site does something that is considered a conversion (e.g. registers for a class)

email.template.affiliate_registration - sent to affiliate after they register for the first time

email.template.affiliate_registration.notification - sent to staff members with enabled Affiliate Registration notification when an affiliate registers

email.template.contact_email - sent to contacts manually (along with a custom subject and message) by staff members. The contacts are explicitly selected from contact lists (e.g. contact search, expert search, registration search, etc.)

email.template.expert_registration - sent to experts (instructors) after they register for the first time

email.template.expert_registration.notification - sent to staff members with enabled Expert Registration notification when an expert registers

email.template.forum_post_notification - sent to all users subscribed to a particular forum topic (i.e. when a new reply is added)

email.template.forum_topic_notification - sent to all users subscribed to a particular forum (i.e. when a new topic is created)

email.template.member_registration - sent to a regular user after they register for the first time

email.template.member_registration.notification - sent to staff members with enabled Member Registration notification when a member registers

email.template.product_item_download - sent to customer after they purchase a product that is downloadable (as opposed to shippable)

email.template.product_order - sent to customer after they make a product purchase (contains the summary of their entire order)

email.template.product_order.notification - sent to staff members with enabled Product Order notification when somebody purchases one or more products

email.template.product_order_update - sent to customer of a product order (inc. additional bcc addresses) after a staff member explicitly requests this email to be sent along with their optional and custom message (contains the summary of their entire order)

email.template.provider_registration - sent to a provider after they register for the first time

email.template.provider_registration.notification - sent to staff members with enabled Provider Registration notification when a provider registers

email.template.registration_info - sent to a participant of a particular class when they (or somebody else) registers; a separate email is sent for each registration in a given order

email.template.registration_order - sent to customer after they submit a registration order (contains the summary of their entire order)

email.template.registration_order.notification - sent to staff members with enabled Registration Order notification when somebody registers for one or more classes

email.template.registration_order_update - sent to customer of a registration order (inc. additional bcc addresses) after a staff member explicitly requests this email to be sent along with their optional and custom message (contains the summary of their entire order)

email.template.request_for_class.notification - sent to staff members with enabled Request for Class notification when a potential customer requests a class

email.template.request_for_contact.notification - sent to staff members with enabled Expert Registration notification when a customer submits an RFC (inquiry request)

email.template.request_for_quote.notification - sent to staff members with enabled Request for Quote notification when a potential customer requests a quote for an onsite delivery

email.template.request_for_talent.notification - sent to staff members with enabled Request for Talent notification when a potential customer submits a request for talent

email.template.reset_password - sent to the end user who requests their password to be reset

email.template.training_assessment_response.notification - sent to staff members with enabled Training Assessment Response notification when a participant submits their training assessment form

email.template.training_survey_response.notification - sent to staff members with enabled Training Survey Response notification when a participant submits their training survey form

email.template.user_message_notification - sent to users who've received in-Spark messages from other users
Edited one time. Last edit by Aleksandar Gargenta on Mar 31, 2010 at 1:23:35 PM (about 5 weeks ago).