Smtp Constructor (String)
Creates and unlocks an instance of Smtp class.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Smtp(
	string licenseKey
)

Parameters

licenseKey
Type: SystemString
The license key. Can be a null reference (Nothing in Visual Basic) in case if the product is already unlocked (the license key was specified in app.config, web.config, Windows registry, or in MailBee.Global.LicenseKey property).
Exceptions
ExceptionCondition
MailBeeLicenseExceptionMailBee.NET SMTP not licensed and the supplied license key is invalid.
See Also