Click or drag to resize

SmtpLoginSSPI(SSPIMechanism, String, String, String) Method

Logs user in using specified mechanism (Negotiate, Kerberos or NTLM).

Namespace: Limilabs.Client.SMTP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public void LoginSSPI(
	SSPIMechanism mechanism,
	string userWithDomain,
	string password,
	string target
)

Parameters

mechanism  SSPIMechanism
Mechanism to use.
userWithDomain  String
User's login (e.g. "domain/user").
password  String
User's password.
target  String
Indicates the service principal name (SPN) of the destination server. Default is "smtp/" + fully qualified target name. IIS SMTP may use "SmtpSvc/" + fully qualified target name.
Exceptions
ExceptionCondition
SmtpResponseExceptionThrows SmtpResponseException on error response.
See Also