# Brevo / Sendinblue (Legacy)

First you need to [download AcyMailing](https://www.acymailing.com/#download) from our website.

Once done, select Brevo (Legacy) in the first tab of the configuration:

![](/files/96Pf7mElBUJOwAyejItJ)

### API Key

Then to send emails you'll need an API key from Sendinblue.\
Here is how you get it:

Log into your Sendinblue account and go to SMTP & API menu:

![](/files/2U3azciZuGHBCQyGA2dZ)

Once you're on this listing, you can either copy an existing API key or create a new one by clicking on the **create** button and set a **name** for it:

![](/files/dlZ4p5NgfeOg1hYSClBz)

Now you can simply copy the API key into the AcyMailing configuration.

### Sender Information

You'll need one more thing to send emails from AcyMailing: set the **sender information**.\
To do that you'll have to create a new sender into your Sendinblue account.\
Go to the menu **Sender & IP** on the top-right menu:

<img src="/files/uLIuhliNFSuWyJuetPyp" alt="" width="315">

If you don't already have a Sender set you'll have to create a new one by clicking on Sender then **add a new sender**, set the **name,** **email** and save it:

<figure><img src="/files/tstYJKlYquXhqenoEwrn" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/FB6LkydFlJ3CWwmfeeZM" alt="" width="317"><figcaption></figcaption></figure>

<img src="/files/zhGidSiwJTK2r0c04p4N" alt="" width="327">

Once you've set this information you'll have to set them into the AcyMailing configuration under the tab mail settings:

![](/files/PvBRVtJLDeS3F36rmpxb)

### Additional information

When you link your Sendinblue account with AcyMailing there are 2 kinds of email: transactional and marketing emails.

#### Marketing emails

Marketing emails are the campaigns you send in AcyMailing, classical, scheduled, and automatic.\
When you create a campaign of one of these types the sending process will not be exactly like every other sending method in AcyMailing.

#### Subscribers

As Sendinblue doesn't allow us to send campaigns directly via their API, we have to add all your users to Sendinblue, so when you change your sending method to Sendinblue the first thing to do is to synchronise your subscribers in the AcyMailing configuration:

<img src="/files/tQUymwaqxq2w61GtQT5b" alt="" width="375">

Once it's done you don't have anything to do with your subscribers, each time a subscriber is created, modified, deleted, it will be done in Sendinblue.

#### Sending process

When you add an email to the queue, the email is not created in sendinblue right away.\
You have to process the whole queue before the campaign is created and sent on Sendinblue.\
For each email in AcyMailing we created in Sendinblue:

* A new attribute to add the subject and an other for the content of the email to send
* A new list in which we add the users
* A new campaign that we send

#### Transactional emails

Transactional emails are emails triggered by subscribers actions, here are some examples:

* Confirmation emails
* Welcome emails
* Unsubscribe emails
* Follow-up emails
* Admin notifications

#### Data deletion

As we duplicate subscribers, lists and campaigns we have added an option to clean the data in Sendinblue so you can keep a clean dashboard.\
By default, we erase all the data linked to campaigns sent 1 week ago, you can change that if you want.

<img src="/files/Ej1pCyQoUdpDa2WtNJhB" alt="" width="375">

### Troubleshooting

If you are having trouble sending emails with our Sendinblue integration you can check if you have the button **see the report** in your AcyMailing configuration in the **Mail Settings** tab:

<img src="/files/XDdpaneGaLnJ1edZV1HI" alt="" width="263">

If you can't really fix the issue with the messages in the log file you can contact us.

Feel free to read our full article regarding the [Sendinblue integration](https://www.acymailing.com/sendinblue-for-wordpress/)

### My account needs validation

Sendinblue has a validation process to make sure you send good quality emails with their services. If your account needs to be validated, you can follow the steps listed by Sendinblue:

{% embed url="<https://sendinblue1593618600.zendesk.com/hc/en-us/articles/360017571799-How-to-validate-my-Sendinblue-account>" %}

If you've followed these steps but your account takes quite some time to be validated, here's why:

{% embed url="<https://sendinblue1593618600.zendesk.com/hc/en-us/articles/360017571719-Why-has-my-Sendinblue-account-not-been-validated-yet>" %}


---

# 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.acymailing.com/external-sending-method/sendinblue-1.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.
