public static void addEmailDataTransportListener ( @ Nonnull final IEmailDataTransportListener aEmailDataTransportListener ) { ValueEnforcer . notNull ( aEmailDataTransportListener , "EmailDataTransportListener" ) ; s_aRWLock . writeLocked ( ( ) -> s_aEmailDataTransportListeners . add ( aEmailDataTransportListener ) ) ; }
Add a new mail transport listener .