Disposes the Smtp object and all the socket objects.

Namespace:  Rebex.Net
Assembly:  Rebex.Smtp (in Rebex.Smtp.dll)

Syntax

Visual Basic
Public Sub Dispose
C#
public void Dispose()

Implements

IDisposable..::..Dispose()()()()

Remarks

Calling this method ensures that all resources are freed.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also