Mailtrap Elixir integration
Mailtrap can be integrated with Elixir apps and projects for sending and/or testing purposes. Choose the one that suits your needs.
Email API/SMTP for Elixir
SDK integration
You can integrate Mailtrap into your Elixir project or application using the official SDK. The SDK offers access to Transactional Stream, Email Testing, and Account Management.
SMTP integration
To integrate SMTP with your Elixir app, navigate to the Integrations tab and copy-paste the credentials.
Note that SMTP integration is compatible with any Elixir framework or library that sends emails via SMTP.
Read more about SMTP integration here.
RESTful API integration
To integrate Mailtrap using RESTful API, simply copy/paste the API endpoint and API Token into the configuration file of the Elixir framework or library that supports HTTP requests. For more details, refer to the API documentation.
Read more about API integration here.
Email Testing for Elixir
SDK integration
You can integrate Mailtrap Email Testing with your Elixir project using the official SDK. Additional details are also available on hexdocs.
SMTP integration
Within the Email Testing menu, navigate to the Inbox and find your SMTP credentials for Elixir. Then, simply copy/paste them into your Elixir project.
You can integrate Email Testing with any Elixir framework or library that sends emails via SMTP.
Read more about Email Testing SMTP integration here.
RESTful API integration
To use Email Testing API, simply copy/paste the API endpoint and API Token into the configuration file of the Elixir framework or library that supports HTTP requests.
For more details, refer to the API docs.