Installing Aspose.Email for Java from Maven Repository

Aspose hosts all Java APIs on Aspose Artifactory. You can easily use Aspose.Email for Java API directly in your Maven Projects with simple configurations.

Specify Maven Repository Configuration

First, you need to specify the Aspose Maven Repository configuration/location in your Maven pom.xml as follows:




        <name>Aspose Java API</name>




Define Aspose.Email for Java API Dependency

Then define Aspose.Email for Java API dependency in your pom.xml as follows:









After performing the above steps, Aspose.Email for Java dependency will finally be defined in your Maven Project.