SmtpClient.ValidateCredentials

ValidateCredentials(IConnection)

Executes credentials validation

public bool ValidateCredentials(IConnection connection)
ParameterTypeDescription
connectionIConnectionConnection to a server

Return Value

True if authentication was successful, otherwise false.

See Also


ValidateCredentials()

Executes credentials validation

public override bool ValidateCredentials()

Return Value

True if authentication was successful, otherwise false.

See Also