Gemstone Common Library
Show/Hide TOC

# MailDispose Method

Releases all the resources used by the Mail object.

## Definition

Namespace: Gemstone.Net.Smtp
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.174 -- Release Build+aa37ec1cbeacbf32d632bf098b6401a4346e3db1
C#
View Source Request Example

    public void Dispose()

VB
View Source Request Example

    Public Sub Dispose

C++
View Source Request Example

    public:
    virtual void Dispose() sealed

JavaScript
View Source Request Example

    function Dispose();

#### Implements

IDisposableDispose

## See Also

#### Reference

Mail Class
Dispose Overload
Gemstone.Net.Smtp Namespace