-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
Resolution-AnsweredThe question is answered.The question is answered.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issues
Description
Steps to reproduce
Run Send-MailMessage with CC or BCC, but without TO, and with BodyAsHTML.
Expected behavior
Either throw error and break (because TO is empty) or send the email (to CC or BCC) without an error.
Actual behavior
You get an error that the email address is invalid and the email is sent but empty.
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 5.0.9740.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.34014
BuildVersion 6.3.9740.0
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.2
Metadata
Metadata
Assignees
Labels
Resolution-AnsweredThe question is answered.The question is answered.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issues