Skip to content

Conversation

@ece-jacob-scott
Copy link
Contributor

@ece-jacob-scott ece-jacob-scott commented Feb 23, 2019

Fixes #4043

  • Made the subject parameter not mandatory
  • Took away null exception check for the subject

The PR just makes the subject parameter for the sendMail command able to be null. It also adds a test for the send mail function to be called with no subject parameter.

PR Checklist

Copy link
Member

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 😊

Copy link
Collaborator

@rjmholt rjmholt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TylerLeonhardt
Copy link
Member

This is a student at HackIllinois. @rjmholt and I are working with the students here and are reviewing PRs that they send.

@iSazonov
Copy link
Collaborator

@adityapatwardhan Can we merge or will wait #8859?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can delete this line I think

@iSazonov
Copy link
Collaborator

iSazonov commented Mar 8, 2019

@ece-jacob-scott @TylerLeonhardt Could you continue and rebase to get latest tests?

@TylerLeonhardt
Copy link
Member

@ece-jacob-scott is a master at rebasing now :) but if you need help feel free to ping me

@iSazonov
Copy link
Collaborator

Please rebase so we could merge.

@iSazonov iSazonov added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Mar 17, 2019
@iSazonov iSazonov self-assigned this Mar 17, 2019
Copy link
Member

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iSazonov iSazonov merged commit 8f6982c into PowerShell:master Mar 18, 2019
@iSazonov
Copy link
Collaborator

@ece-jacob-scott Thanks for your contribution!

@TylerLeonhardt
Copy link
Member

Wahoo! Well done! 🎉

@iSazonov
Copy link
Collaborator

Ah, sorry - please create new issue in PowerShell-Docs repo and add reference in the PR description.

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

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log Documentation Needed in this repo Documentation is needed in this repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send-MailMessage $Subject Mandatory=$true

4 participants