# 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="https://963725040-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_D4iy53WFAtKVs3BPA-3566562695%2Fuploads%2FtNVbFi6fOZgNcWvhekFU%2Fee%20create%20api%20key.png?alt=media&#x26;token=00dc063e-6523-4265-9421-794195ee1aa5" 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:

![](https://963725040-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_D4iy53WFAtKVs3BPA-3566562695%2Fuploads%2Fil5rMy3JFig8qqc3wflz%2Fconfig%20elastic.png?alt=media\&token=7cc18e9b-430b-4422-ac57-ef4c9a242c0a)

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="https://963725040-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_D4iy53WFAtKVs3BPA-3566562695%2Fuploads%2FGj9KegMWiNHmrCuBfu2F%2Fee%20create%20smtp.png?alt=media&#x26;token=aa1dbb86-39e9-4523-8665-eebcad9aeab1" alt="" width="375"><figcaption></figcaption></figure>

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

<figure><img src="https://963725040-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_D4iy53WFAtKVs3BPA-3566562695%2Fuploads%2FSzBOqzOi4B8xHwiUCrVv%2Fee%20smtp%20credentials.png?alt=media&#x26;token=8ce4e9d6-adbc-4bdd-9792-b8172208e3ee" alt="" width="375"><figcaption></figcaption></figure>

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

![](https://963725040-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_D4iy53WFAtKVs3BPA-3566562695%2Fuploads%2F1tNj1Mt7b6UAULvABi82%2FConfiguration%20smtp%20ee.png?alt=media\&token=4ca78503-b057-4e37-971b-e16917963fed)

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
