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.178 -- Release Build+f8a23028fef00502c7e35bcc3934c260e8a0eb56
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