-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restart of the SMTPServer by calling stop-start #75
Comments
When you start the server with wiser.start(), an inner flag 'started' is set to true in the SMTPServer class; this one is not set to false when you stop the server with wiser.stop(). // True if this SMTPServer was started. It remains true even if the SMTPServer has been stopped since It seems to be a deliberate comportment. You have to instanciate a new server each time you want to create a new one. wiser.start() // create a new server Hope these few explanations will help you. |
Hello! I read on this line: https://github.com/voodoodyne/subethasmtp/blob/master/src/main/java/org/subethamail/smtp/server/SMTPServer.java#L72 that the thread pool cannot be restarted...isn't Would you accept a PR to make the server fully stoppable/reloadable? |
This is what I do in Clojure, using reflection, it is super hacky but it works so I wonder whether a PR would be effective here.
|
…tional BDAT LAST command is appended voodoodyne#75
Original issue reported on code.google.com by
[email protected]
on 3 Feb 2015 at 12:28The text was updated successfully, but these errors were encountered: