Skip to content

Make all Send-MailMessage parameters accepting value from pipeline by property name #6924

@sethvs

Description

@sethvs

It would be nice to use with custom functions, where function is collecting some amount of information, generating PSCustomObject with needed properties, and sending it through the pipeline to Send-MailMessage cmdlet.

Get-SomeInfo | Send-MailMessage

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-FixedThe issue is fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions