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! :)

Azure AD Connect Sync fails with Event ID 6311

Azure AD Connect Sync fails to synchronise with Event ID 6311 Issue ADSync Event ID 6311 in the Application event log The server encounte...