wodSmtpServer ActiveX Control - Stop Method
      
 

Description

Stops Smtp server.


Return Type

None  


Syntax

object.Stop



The Stop Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSmtpServer.

Remarks

Stop method will immediately disconnect all connected users and stop accepting any new connections. Further more, Port that is used for listening will be freed and you can use it for some other purpose.

If you try to obtain list or snapshot of currently connected users at the time you shut down server, you should do it before you call Stop method, because it will delete list of all users at that time. To start server again, call Start method.