Skip to content

Documentation issue on SmtpClass page #4705

Closed

Description

@maryamariyan

SmtpClass

In https://docs.microsoft.com/en-us/dotnet/api/system.net.mail.smtpclient?view=netcore-2.0 it says

the description below is wrong and doesn't apply to Core.

You can use the application or machine configuration files to specify default host, port, and credentials values for all SmtpClient objects. For more information, see <mailSettings> Element (Network Settings)

In order to specify default host, port, and credentials values, we need to set the relevant properties on SmtpClient directly.

More info here

cc: @mairaw

Activity

  1. added this to the milestone on Mar 20, 2018
  2. added a commit that references this issue on Mar 21, 2018
    28cc5d1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions