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.

1 comment:

Please be nice! :)

Vulnhub Writeup: Glasgow Smile

Vulnhub - Glasgow Smile Vulnhub Writeup - Glasgow Smile 1.1 Description Title: Glasgow Smile Users: 5 Difficulty ...