Email Subject Line Translation

The purpose of this document is to explain how Aurora manages email subjects.

Overview

The subject line of emails that are generated for both customers and internal staff can be specified using the Order > Emails > Edit Email > Email Subject and Admin Email Subject fields respectively. Using these two fields, emails that are sent to customers and internal staff can have different subjects lines.

In addition to this, some email types permit the usage of variables in their subject - these are detailed in the table below.

Data Mapping Table

Email TypeDefault Email NameDefault Customer SubjectSite Text Usage in Subject

(Page, Part)
Customer Variables AvailableAdmin SubjectsAdmin Variables Available
email_to_friendEmail to FriendAn item of interest from %s'Email Confirmation', 'Title: Subject'company name
leave_a_messageLeave a MessageThank you for contacting %scompany name%s from %s[order number - ] contact subject, contact name
new_orderNew OrderOrder #%s with %sorder id, company name
Order ReceiptYour Receipt/Invoice for Order #%s with %sorder id, company nameNew customer order
refundRefundOrder #%s has been refunded from %sorder id, company name
request_reviewRequest Feedback%s order satisfactioncompany name
return_authorisedAuthorised ReturnsInformation regarding order #%s from %sorder id, company name
Part Order DespatchOrder #%s has been despatched from %sorder id, company name
Part Order Despatch StatusA note on order #%s from %sorder id, company name
order_despatchedOrder DespatchedOrder #%s has been despatched from %sorder id, company name
new_memberNew User%s: Your registration detailscompany name
forgot_passwordForgot PasswordForgot Password Reminder from %scompany name
change_passwordChange PasswordYour password has been changed{$email_address}

Subjects Used in the Aurora API

API MethodDefault Customer SubjectSite Text Usage on Subject

(Page, Part)
Customer Variables Available
Order/Email/Send%s: A message regarding your order'API Email', 'Subject: Order Email Send'company name (available only for site text)
Customer/Email/Send%s: A message regarding your account'API Email', 'Subject: Customer Email Send'company name (available only for site text)

🚧

Variables can only be used in a subject in the specified order.

Where there are two or more variables, it is currently not possible to use a second variable without using the first one.