Send-MailMessage – Send Mail with multiple attachments

Powershell – Send Multiple Email Attachments using Send-MailMessage

Pass each attachment location to a variable and add this to the Attachments parameter separated by comma


Send-MailMessage -To - From -Subject "Attachments" -Attachments $Att1,$Att2

2 thoughts on “Send-MailMessage – Send Mail with multiple attachments

  1. It would be super helpful if the example was visible. I get as far as “…”Attachments” -Attac” then it’s cut off and I can’t see the full example.

    • Dear Dalebert,

      Please find below full example

      Send-MailMessage -To – From -Subject “Attachments” -Attachments $Att1,$Att2

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s