Our module requirements specify that two e-mail templates need to be defined. Hints to this have already been given in the app/code/Foggyline/Helpdesk/etc/config.xml
file previously defined. The actual definition of e-mail templates available to our modules is done through the app/code/Foggyline/Helpdesk/etc/email_templates.xml file
, with the content as follows:
<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module: Magento_Email:etc/email_templates.xsd"> <template id="foggyline_helpdesk_email_template_customer" label="Foggyline Helpdesk - Customer Email" file="store_owner_to_customer.html" type="html" module="Foggyline_Helpdesk" area="frontend"/> <template id="foggyline_helpdesk_email_template_store_owner" label="Foggyline Helpdesk - Store Owner Email" file="customer_to_store_owner.html" type="html" module...