Skip to content

Send-MailMessage should be update to use a supported API #9031

Closed

Description

Send-MailMessage use a depreciated API according to https://github.com/dotnet/platform-compat/blob/master/docs/DE0005.md

We should remove or rewrite Send-MailMessage to use a supported API.

Activity

  1. added
    Issue-Enhancement
    on Mar 2, 2019
  2. pougetat commented on Mar 12, 2019

    @pougetat

    Some quick thoughts after looking into this :
    We need to start by adding more exhaustive tests for the cmdlet since the current base of tests is lacking. This can ensure we don't break compatibility with the previous implementation.
    Then the move can be made to the new api. Mailkit seems great in terms of features, documentation and maintenance of the project.
    Since we can now run send-mailmessage tests on devops and other local environments that aren't Linux with a recently checked in PR for this test base it makes the work that much more CI friendly.

  3. TravisEz13 commented on Mar 12, 2019

    @TravisEz13
    MemberAuthor

    RFC PowerShell/PowerShell-RFC#160 has been opened on this issue. I'm going to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-EnhancementWG-Cmdlets

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions