# ElasticEmail

## Using the ElasticEmail API

You will first need to find your API key by [creating an account](https://elasticemail.com/email-marketing-pricing?r=7b884a0b-b979-4473-8803-06ae39d76599) on the ElasticEmail website, then once connected, go to Settings => Manage API keys then create one:

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

You can either git it full access, or custom permissions, but make sure it is allowed to add contacts, send emails and add files for attachments.

In the AcyMailing configuration, tab **Mail settings**, you can choose the ElasticEmail option:

![](/files/jiZyvg82TVTAwJRTBk0B)

Enter your API key into the field then click the "Test credentials" button to make sure the API key is valid.

## Using the ElasticEmail SMTP

To find your SMTP credentials, you first need to [create an account](https://elasticemail.com/email-marketing-pricing?r=7b884a0b-b979-4473-8803-06ae39d76599) on the ElasticEmail website, then once connected, go to Settings => Manage SMTP:

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

You can then create one SMTP access. It will give you your password:

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

In the AcyMailing configuration, tab **Mail settings**, you can now choose the SMTP sending method:

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

The connection configuration should be as follows:

* Server: smtp.elasticemail.com
* Port: 2525
* Secure method: SSL
* Keep alive: Yes
* Authentication: Yes
* Authentication method: Automatic
* Username: the email address you chose
* Password: the password ElasticEmail gave you


---

# 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/elasticemail.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.
