Scala

Learn how to integrate Mailtrap with Scala apps and projects for email sending using SMTP and RESTful API methods.

Overview

Mailtrap can be integrated with Scala apps and projects for email sending.

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.

You'll have to use Play-Mailer configuration, as Scala doesn't have built-in support for SMTP sending.

Read more about SMTP integration in our dedicated guide.

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 in the here.

Last updated

Was this helpful?