description |
---|
Tips on how to install Jodd Mail library in your app |
Jodd Mail is released on Maven Central. You can use the following snippets to add it to your project:
{% tabs %} {% tab title="Maven" %}
<dependency>
<groupId>org.jodd</groupId>
<artifactId>jodd-mail</artifactId>
<version>x.x.x</version>
</dependency>
{% endtab %}
{% tab title="Gradle" %}
implementation 'org.jodd:jodd-mail:x.x.x'
{% endtab %}
{% tab title="Gradl.kt" %}
implementation("org.jodd:jodd-mail:x.x.x")
{% endtab %}
{% tab title="Scala SBT" %}
libraryDependencies += "org.jodd" % "jodd-mail" % "x.x.x"
{% endtab %}
{% tab title="Ivy" %}
<dependency org="org.jodd" name="jodd-mail" rev="x.x.x" />
{% endtab %}
{% tab title="Leiningen" %}
[org.jodd/jodd-mail "x.x.x"]
{% endtab %}
{% tab title="Buildr" %}
'org.jodd:jodd-mail:jar:x.x.x'
{% endtab %} {% endtabs %}
You will also need the mail implementation, for example:
jakarta.mail:jakarta.mail-api:1.6.5
com.sun.mail:jakarta.mail:1.6.5
That is all!
Jodd JSON snapshots are published on Maven Central Snapshot repo.
{% hint style="warning" %} Snapshots are released manually. Feel free to contact me if you need a new SNAPSHOT release sooner. {% endhint %}