SmtpClient.ValidateCredentials
ValidateCredentials(IConnection)
Executes credentials validation
public bool ValidateCredentials(IConnection connection)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Return Value
True if authentication was successful, otherwise false.
See Also
- interface IConnection
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ValidateCredentials()
Executes credentials validation
public override bool ValidateCredentials()
Return Value
True if authentication was successful, otherwise false.
See Also
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email