UseDefaultCredentials

SmtpClient.UseDefaultCredentials property

Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests.

public override bool UseDefaultCredentials { get; set; }

See Also