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: Silky CTF 0x02

Vulnhub Writeup - Silky CTF 0x02 This is the first box on the OSWE track from TJNull’s infamous list You can download the box from Vulnhub...