Skip to content

inoxio/MailsterSMTP

 
 

Repository files navigation

MailsterSMTP

Download

A NIO SMTP server API written in Java

This is a fork from the original (https://github.com/edeoliveira/MailsterSMTP)

Setup repository

repositories {
    mavenCentral()
} 

Dependency

compile("de.inoxio:mailster-smtp:1.0.6")

Start a server

var server = new SMTPServer(new MessageListenerAdapter() {
    @Override
    public void deliver(SessionContext ctx, String from, String recipient, InputStream data) {
        System.out.println("New message received");
    }
});

Check for new dependencies

./gradlew dependencyUpdates -Drevision=release

Release

Change version in build.gradle.kts, README.md and SMTPServerConfig.java and issue:

./gradlew bintrayUpload

About

A NIO SMTP server API written in Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.1%
  • Kotlin 1.9%