SmtpNetworkElement.DefaultCredentials Property

Definition

Determines whether or not default user credentials are used to access an SMTP server. The default value is false.

[System.Configuration.ConfigurationProperty("defaultCredentials", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public bool DefaultCredentials { get; set; }
Property Value

true indicates that default user credentials will be used to access the SMTP server; otherwise, false.

Applies to