General Mail Exception, including network errors, connection errors, and configuration errors.
For a list of all members of this type, see MailException Members.
[Visual Basic] Public Class MailException Inherits Exception [C#] public class MailException : Exception [C++] public __gc class MailException : public Exception [JScript] public class MailException extends Exception
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Assembly: DotNetOpenMail (in DotNetOpenMail.dll)