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.155 -- Release Build+a7d8ba87ff92af3282fc68a6fbfd37a854100b44
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