SmtpClientPlainAuthenticatorAuthenticate Method Ipswitch.Messaging.Framework
Performs an authentication with the SMTP server contained in the indicated SmtpProtocol instance using AUTH PLAIN.

Namespace: Ipswitch.Messaging.Framework.Mail
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax

public override bool Authenticate(
	NetworkCredential userCredentials,
	SmtpProtocol protocol
)

Parameters

userCredentials
Type: System.NetNetworkCredential
The user credentials to use when authenticating.
protocol
Type: Ipswitch.Messaging.Framework.MailSmtpProtocol
The protocol object to use when communicating with an SMTP server to perform authentication.

Return Value

Type: Boolean
true if the authentication procedure was successful; otherwise, false.
See Also

Reference