Jump to content
Software FX Community

Multiple recipient Send-mail?


Recommended Posts

Is it possible to send the emails from send-mail to multiple recipients and if so how?  I've tried separating the users by comma & semi-colon and only the first person receives the email.  The quick start guide makes mention of multiple recipients but does not say how to do it.


Link to comment
Share on other sites

I just tried the following

send-mail -subject "Test Mail" -to "account1@domain.com;account2@hotmail.com"

I also tried the "full" format supplying a display name

send-mail -subject "Test Mail" -to "John Doe<account1@domain.com>;John Doe2<account2@hotmail.com"

And both worked. I also checked the change history for our send-mail cmdlet and the last time we changed any code was way before build 2588. Can you check the version of your PowerGadgets.Commands.dll?


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...