MailBee.NET Objects 7.2

Global Class

Provides properties specifying default values and parameter settings which apply to instances of all MailBee classes.

For a list of all members of this type, see Global Members.

System.Object
   MailBee.Global

public class Global

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The most important property in this class is LicenseKey which unlocks MailBee.NET Objects.

Changes of the property values of this class affect all MailBee classes in the current application domain. For instance, if DnsPort is set to 42, all subsequent DNS MX lookup queries will be initiated on port 42. Or, if DefaultTimeout is set to 500, all subsequent connections will use 0.5 seconds as a timeout value (however, any connections which are already open will still use their current timeout settings).

Note   If you're Visual Basic developer, you need to use fully qualified name when accessing properties of this class. For instance, use MailBee.Global.AutodetectPortAndSslMode, not Global.AutodetectPortAndSslMode. This is because Global is a keyword in VB.

Requirements

Namespace: MailBee

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

Global Members | MailBee Namespace