With the Flowmailer Magento Connector, you can easily send emails from Magento in the look and feel of your brand via Flowmailer Go. In addition, you make use of the reliable delivery that Flowmailer offers.
To make use of this functionality, take the following steps:
- Setting up DNS-records
- Installing the connector
- Configure connector in Magento
- Setting up a custom header and footer template in Magento
- Activating the connector
- Setting up templates in Magento
1. Setting up DNS-records
You can access your Flowmailer account via your Spotler contact person. You will also receive instructions on how tot set up the DNS-records.
2. Installing the connector
Download the connector through this page: https://github.com/flowmailer/m2connector
Next, have this installed by your Magento administrator. Once the connector is installed, you can find it in Magento under: Stores > Configuration > Flowmailer > Connector.
3. Configure connector in Magento
In this step, you ensure that the connection can be established between Magento and Flowmailer.
Set Enable to No, so that no emails are sent from Flowmailer yet. Only when the setup in your Flowmailer account is complete, set Enable to Yes to activate the connector.
To establish the connection between Magento and Flowmailer, you need an Account ID, Client ID, and Client Secret. You will receive these details from your Spotler contact person of by creating a source in your Flowmailer account. Creating a source yourself? Read more about it in Step 3 - Connecting a source in the following article: Getting started with Flowmailer - Set up – Flowmailer.
4. Setting up a custom header and footer template in Magento
In Magento, you configure which data should be included in your header and footer by using a custom template.
Follow these steps for a custom header:
- Go to the menu Marketing > Email templates.
- Click on Add New Template.
- In the dropdown menu at Template, choose Header under the Magento_Email section.
- Next, click on Generate.
- Add the code: <div class = "fm_content"> as shown in the screenshot below:
- Name the template: header_flowmailer and save it.
The steps for a custom footer:
- Go to the menu Marketing > Email templates.
- Click on Add New Template.
- In the dropdown menu at Template, choose Footer under the Magento_Email section.
- Next, click on Generate.
- Add the code: </div> as shown in the screenshot below.
- Name the template: footer_flowmailer and save it.
5. Activating the connector
First check with your Spotler contact person if the templates and flows are ready in Flowmailer before going live with the connector. Then go back to Stores > Configuration > Flowmailer > Connector Enable. And set this option to Yes.
6. Setting up templates in Magento
As the final step, configure the templates you have just created.
- Go to Content > Design > Configuration
- Edit the default store.
- Go to Transactional Emails at the bottom of the page.
- Select the templates you have just created for Header and Footer.
- Click on Save configuration.
- Go to Store > Configuration > Sales > Sales Emails.
- Check if all templates are set to Use System Value. If you are using custom templates, please contact your Spotler contact person.
- Click on Save configuration.