Performs an authentication with the SMTP server contained in the indicated SmtpProtocol instance using AUTH CRAM-MD5.
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.Net.NetworkCredential
The user credentials to use when authenticating. - protocol
- Type: Ipswitch.Messaging.Framework.Mail.SmtpProtocol
The protocol object to use when communicating with an SMTP server to perform authentication.
Return Value
Type: Booleantrue if the authentication procedure was successful; otherwise, false.
See Also