This class will get the email template groups with the associated options. Tempalte groups are groups of localized email templates that will be used for the same purpose as indicated by the emailActionID. An example of this would be a group that contains localized versions of the admin daily summary email. Options include the action it is associated with. Many actions, such as Package Info, can have several groups associated with them.
<mbapi> <command><!-- string --></command> <subCommand><!-- string --></subCommand> <showXMLHeader><!-- boolean --></showXMLHeader> <params> <emailTplGroupID><!-- int --></emailTplGroupID> <emailTplGroupName><!-- string --></emailTplGroupName> <emailActionID><!-- int --></emailActionID> <emailTplGroupFromName><!-- string --></emailTplGroupFromName> <emailTplGroupFromAddress><!-- string --></emailTplGroupFromAddress> <emailTplGroupReplyName><!-- string --></emailTplGroupReplyName> <emailTplGroupReplyAddress><!-- string --></emailTplGroupReplyAddress> <emailTplCCAddress><!-- string --></emailTplCCAddress> <emailTplBCCAddress><!-- string --></emailTplBCCAddress> <getEmailTemplates><!-- int --></getEmailTemplates> </params> </mbapi>
None
mbapi
command
Required. The string SetEmailTemplateGroups.
subCommand
Required. insert update or delete.
showXMLHeader
Whether to show an XML header in the results.
params
SetEmailTemplateGroups parameters.
emailTplGroupID
Email tempalte group ID
emailTplGroupName
The name of the template group. This is used to select amoung the differnet groups in parts of the system, so they should be unique.
emailActionID
Email action ID. This is the action that the group is associated with. The list of actions is maintained in include/config/internal/emailactions.php
emailTplGroupFromName
The name associated with the From: address.
emailTplGroupFromAddress
The From: address that will be used for sending out emails based on templates from this group.
emailTplGroupReplyName
The name associated with the Reply-To: address.
emailTplGroupReplyAddress
The Reply-To: address that will be used for sending out emails based on templates from this group.
emailTplCCAddress
The CC: address that will be used for sending out emails based on templates from this group. This can be a comma-seperated list of addresses.
emailTplBCCAddress
The BCC: address that will be used for sending out emails based on templates from this group. This can be a comma-seperated list of addresses.
getEmailTemplates
Return the email templates associated with the template group.
1: Return only the locale info