Skip to content

Releases: davidmoten/subethasmtp

5.1

10 Sep 21:31
Compare
Choose a tag to compare
5.1
  • replace javax.mail dependency with jakarta mail 1.6.4
  • upgrade slf4j to 1.7.28
  • add null check for slf4j setContextMap as per #13

5.0

26 Jun 10:20
Compare
Choose a tag to compare
5.0
  • add option to set server name #7
  • add MessageContext param to authentication methods #9 (breaking change)
  • add custom success return on data command #10 (breaking change)
  • disable stacktrace generation for RejectException #11

Thanks @peterjurkovic, @diegosalvi!

4.0.1

20 Mar 09:31
Compare
Choose a tag to compare
  • no significant changes since last release, this is the first non-RC release as requested in #8

4.0-RC8

09 Nov 00:31
Compare
Choose a tag to compare
  • fix internal naming in SMTPServer and remove redundant Precondition checks
  • get Travis to build on OpenJDK8 as well
  • enable TLS when requireTLS set #2
  • if requireTls set then don't advertise auth from EHLO before tls started #3
  • upgrade to javax.mail 1.6.1, add STARTTLS unit test with PLAIN auth #1

4.0-RC6

11 Aug 06:16
Compare
Choose a tag to compare
  • add maxMessageSize checking to BasicMessageListener
  • add error response test (can send next message after the DATA submission returned an error response)
  • add MessageContext parameter to BasicMessageListener.messageArrived parameter

4.0-RC4

07 Jun 03:21
Compare
Choose a tag to compare
  • add BasicMessageListener which is a SAM version of MessageHandler
  • add SMTPServer builder support for BasicMessageListener

4.0-RC3

07 Jun 01:29
Compare
Choose a tag to compare
  • add serverSocketFactory methods to SMTPServer to enable pure SSL SMTP
  • add more precondition checks to SMTPServer
  • rename SMTPServer.Builder.sslSocketCreator method to startTlsSocketCreator to distinguish from new serverSocketFactory method.

4.0-RC2

16 May 07:26
Compare
Choose a tag to compare
  • move internal classes to internal packages so is clear what the public API is
  • fix bug in Practice.main
  • remove dead store from PlainAuthenticationHandlerFactory
  • specify Charset (US_ASCII) for data content in WiserMessage
  • SMTP AUTH decode should specify character set (UTF-8) for username and password
  • make fields final
  • fix imports
  • add javadoc to SMTPServer and remove unnecessary sleeps after start() called in unit tests
  • add Override annotations
  • add EmailUtils tests
  • add SmartClient coverage
  • add client test with BasicSMTPServer
  • move BasicSMTPServer to smtp package
  • add BasicSMTPServerTest
  • improve test coverage of TextUtils and throw IllegalArgumentException instead of IllegalStateException
  • add Constants test
  • don't prefix static field with this.
  • use Optional in ReceivedHeaderStream`
  • add SMTPServer javadoc
  • use Optional in MessageContext, AuthenticationHandler, Session

4.0-RC1

09 May 03:20
Compare
Choose a tag to compare
  • required Java 8 (just because of Base64 class at the moment, Java 7 required now because of use in unit test of X509TrustManager)
  • converted SMTPServer to be largely immutable and is created with a builder pattern
  • adjusted Wiser API to cope with an immutable SMTPServer
  • disallowed inheritance of SMTPServer (now final)
  • Wiser now created with builder pattern (disallowed inheritance and added accepter builder method)
  • use composition instead of inheritance in SmartClient
  • use static factory method for SmartClient so that references don't escape the constructor (connect was called from the constructor)
  • use explicit character set with InputStreamReader (US_ASCII) in SMTPClient and SmartClient
  • use java.util.Optional and Preconditions in SmartClient, SMTPClient and SMTPServer

3.9.1-RC2

05 May 12:15
Compare
Choose a tag to compare
  • remove Mig Base64 because original code was complex and had no unit tests, moreover Java 8 Base64 is faster (and I'm happy to require Java 8)
  • make stateless methods static
  • add full unmocked StartTLS test
  • improve coverage by chaining constructor in SMTPServer
  • improve coverage of EmailUtils and remove unused method from EmailUtils
  • cleanup - remove public from interface methods, set fields as private and final where appropriate
  • improve test coverage a bit