Thursday, 14 April 2016

Improved In-Line Image Attachments in PowerShell

Improved In-Line Image Attachments in PowerShell

I found a tutorial for sending in-line image attachments in an email from another blog post here:

http://www.sharepointfire.com/2011/12/send-email-with-images-in-powershell/

I have made a few improvements. This will now take an array of image paths and generate an email with all the images in-line.


You can wrap this in a function or paste straight into a .PS1 file and it will take the parameters listed at the top.

Hope this helps someone.

No comments:

Post a Comment

Please be nice! :)