Releases: davidmoten/subethasmtp
Releases · davidmoten/subethasmtp
5.1
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
4.0-RC8
4.0-RC6
- add maxMessageSize checking to
BasicMessageListener
- add error response test (can send next message after the DATA submission returned an error response)
- add
MessageContext
parameter toBasicMessageListener.messageArrived
parameter
4.0-RC4
- add
BasicMessageListener
which is a SAM version ofMessageHandler
- add
SMTPServer
builder support forBasicMessageListener
4.0-RC3
- add
serverSocketFactory
methods toSMTPServer
to enable pure SSL SMTP - add more precondition checks to
SMTPServer
- rename
SMTPServer.Builder.sslSocketCreator
method tostartTlsSocketCreator
to distinguish from newserverSocketFactory
method.
4.0-RC2
- 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
tosmtp
package - add
BasicSMTPServerTest
- improve test coverage of
TextUtils
and throwIllegalArgumentException
instead ofIllegalStateException
- add
Constants
test - don't prefix static field with
this.
- use
Optional in
ReceivedHeaderStream` - add
SMTPServer
javadoc - use
Optional
inMessageContext
,AuthenticationHandler
,Session
4.0-RC1
- required Java 8 (just because of
Base64
class at the moment, Java 7 required now because of use in unit test ofX509TrustManager
) - converted
SMTPServer
to be largely immutable and is created with a builder pattern - adjusted
Wiser
API to cope with an immutableSMTPServer
- disallowed inheritance of
SMTPServer
(now final) Wiser
now created with builder pattern (disallowed inheritance and addedaccepter
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) inSMTPClient
andSmartClient
- use
java.util.Optional
andPreconditions
inSmartClient
,SMTPClient
andSMTPServer
3.9.1-RC2
- remove Mig
Base64
because original code was complex and had no unit tests, moreover Java 8Base64
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