You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
23:59:46 [main] WARN BatchSupport - Starting SMTP connection pool cluster: JVM won't shutdown until the pool is manually closed with mailer.shutdownConnectionPool() (for each mailer in the cluster)
How I can use your Simple-jave-mail in the batch mode?
I supplied all the required parameters for CLI. An email was successfully sent, but the process was never completed.
I'm thinking about a fully automated process and "manual" Ctrl^C is not a option.
How I can automatically close the current SJM process?
The text was updated successfully, but these errors were encountered:
Hhm, I'm wondering if the batch module makes sense on the CLI at all, since you can't actually send emails in batches on the CLI. Each action is a separate process and connection pools don't last between sessions.
What I mean is Simple Java Mail doesn't have a daemon process running in the background... I never thought about that before, but it's a nice feature request to think about! Would speed up sending emails significantly (after initially spinning up a daemon).
You can simply remove the batch-module.jar from the libraries folder, for now. That will solve your immediate problem.
bbottema
changed the title
JVM won't shutdown until the pool is manually closed
[Feature] Implement SJM as daemon process, so CLI is much faster and can utilise the batch-module
Dec 20, 2023
23:59:46 [main] WARN BatchSupport - Starting SMTP connection pool cluster: JVM won't shutdown until the pool is manually closed with mailer.shutdownConnectionPool() (for each mailer in the cluster)
How I can use your Simple-jave-mail in the batch mode?
I supplied all the required parameters for CLI. An email was successfully sent, but the process was never completed.
I'm thinking about a fully automated process and "manual" Ctrl^C is not a option.
How I can automatically close the current SJM process?
The text was updated successfully, but these errors were encountered: