## MailException class

Represents the exception that is thrown when the mail message processing.

```csharp
public class MailException : Exception
```

## Constructors

| Name | Description |
| --- | --- |
| [MailException](mailexception/#constructor)() | Initializes a new instance of the `MailException` class. |
| [MailException](mailexception/#constructor_1)(string) | Initializes a new instance of the `MailException` class. |
| [MailException](mailexception/#constructor_2)(string, Exception) |  |

### See Also

* namespace [Aspose.Email](../../aspose.email/)
* assembly [Aspose.Email](../../)


