User disconnect from any event. - WeOnlyDo Discussion board

User disconnect from any event. (wodSmtpServer / wodPop3Server / wodImapServer)

by Jasmine, Friday, February 05, 2016, 13:34 (2786 days ago) @ ajitpals

No, this is not correct.

If you will use User.Send, then Action should be SilentDeny, otherwise wodSmtpServer will also send a message.

It will not auto-disconnect user. You must give it some spare time for your data to leave the socket. But, there's no specific reason to disconnect him anyway - he can not send new email, he can only try to with new MAIL FROM, where you will intercept it again.

If you wish, you can check in some timer a second later and disconnect the user.


Complete thread: