Mailtrap Scala integration
Mailtrap can be integrated with Scala apps and projects for sending and/or testing purposes. Choose the one that suits your needs.
Email API/SMTP for Scala
SMTP integration
To integrate SMTP with your Scala app, navigate to the Integrations tab and copy-paste the credentials or ready-made code snippets.
Note that you’ll have to use Play-Mailer configuration, as Scala doesn’t have built-in support for SMTP sending.
Read more about SMTP integration here.
RESTful integration
To integrate Mailtrap using RESTful API, simply copy/paste the API endpoint and API Token into the configuration file of a Scala framework or library that supports HTTP requests.
For more details, refer to the API documentation.
Read more about API integration here.
Email Testing for Scala
SMTP integration
Within the Email Testing menu, navigate to the Inbox and find your SMTP credentials and code snippets. Then, simply copy-paste them into your Play-Mailer configuration, as Scala doesn’t have built-in support for SMTP sending.
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 a Scala framework or library that supports HTTP requests.
For more details, refer to the API documentation.