ydmao / NioSmtpClient

Smtp Client based on Netty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NioSmtpClient

A high-performance async SMTP client based on Netty.

Build Status

Pre-ALPHA

Note that this project is currently under development. Please do not try to use this in its current form.

Dependencies

This project depends on Java8 and Netty 4.1.8

Java Docs

See http://github.hubspot.com/NioSmtpClient/0.0.1-SNAPSHOT/

Maven

Note that we haven't published anything yet since we're in active development. When we do, the first version will be:

<dependency>
  <groupId>com.hubspot</groupId>
  <artifactId>NioSmtpClient</groupId>
  <version>0.0.1</version>
</dependency>

Notes For Developers

  • NEVER execute blocking commands on an eventloop thread (i.e. CountDownLatch.await or Future.get)
  • Avoid doing long running tasks on event loop threads
  • Use new as sparingly as possible:
    • Share objects when possible
    • Use Netty ByteBuf allocators when possible

License

Apache 2.0

About

Smtp Client based on Netty

License:Apache License 2.0


Languages

Language:Java 99.7%Language:Shell 0.3%