# Mautic

Mautic is a popular open-source marketing automation platform that allows for comprehensive management of campaigns and customer relationships. Connecting it with MessageFlow via SMTP enables you to handle all email sending through a scalable infrastructure with a high reputation. This gives you access to detailed reports and analytics, allowing for precise measurement of campaign effectiveness and optimization of future actions. The ability to track the status of each message and access detailed logs in the MessageFlow panel gives you full control over your marketing communication.

## Before you begin

Before you start the configuration, make sure you have your MessageFlow SMTP credentials ready. You will need them during the setup in the Mautic panel.

* You can find your SMTP credentials in the MessageFlow panel under Email API -> Settings -> SMTP Accounts.
* For more information about the integration, see our general documentation: [Broken mention](broken://pages/dpRhuQ0FqiSatDxOPTDp)

## Step-by-step configuration

1. Log in to your Mautic admin panel.
2. In the top right corner, click the gear icon (**Settings**), and then select **Configuration** from the drop-down menu.
3. In the menu on the left, go to the **Email Settings tab**.
4. In the main configuration window, find the 'How should email be spooled and delivered' field and from the 'Mailer transport' list, select **Other SMTP servers**.
5. Fill out the form using your data from the MessageFlow panel:
   * Server: `smtp.messageflow.com`
   * SMTP Port: `587`
   * SMTP encryption type: `TLS`
   * Authentication mode: `Login`
   * Username for selected mail service: Enter your username in the format `1.your_account_name.smtp`.
   * Password for the selected mail service: Enter your SMTP account password.
6. After filling in the data, click the **Test Connection** button. The system should display a 'Success!' message.
7. Save the entire configuration.

## Verifying the integration

To check if the integration is working correctly, send a test email from the Mautic platform. Then, log in to the MessageFlow panel and go to the Email API -> Email Reports section. The sent message, along with its current status, should be visible there.

{% hint style="info" %}
If the message does not appear in the reports, check the error logs directly in Mautic to diagnose the problem.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.messageflow.com/integrations/marketing-automation-and-enterprise/mautic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
