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.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
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