smtp4dev icon indicating copy to clipboard operation
smtp4dev copied to clipboard

smtp4dev fails to receive mails after some time

Open rotsch opened this issue 1 year ago • 1 comments

After a few days of running in the background it seems that smpt4dev cannot receive mails anymore. A fix for this is to call the frontend in the browser after which mails are being received again. This happens both when it's hosted as a service or in IIS in a Windows environment. Is this known and is there a solution to this?

rotsch avatar Feb 12 '24 14:02 rotsch

Thanks for reporting this. Need to look into any timeouts and if the SMTP server etc needs to have it's lifecycle managed by the web app host so it's aware something is still running.

rnwood avatar Feb 23 '24 19:02 rnwood

For Windows Service, I hope that the PR #1291 should resolve this.

For IIS, please also use a version after this PR is merged and see the updated install/config instructions for IIS: https://github.com/rnwood/smtp4dev/wiki/Installation#how-to-run-smtp4dev-as-a-windows-service

I will leave this ticket open for feedback. If you continue to experience this idle timeout, please can you post logs.

rnwood avatar Apr 17 '24 17:04 rnwood

Closing now. Please comment if you are still experiencing this issue after the latest versions.

rnwood avatar May 07 '24 05:05 rnwood