Jump to content

Recommended Posts

Posted

Im am trying to find a way to add a customised signatures to all staff (the head wants an image with their name etc in it).

 

I cant find that much on the web only really:

 

https://4sysops.com/archives/add-a-signature-to-office-365-emails-with-powershell/

 

Which is along the lines I am looking for - however all the images are *.png and have already been created, and I cant find any PS to handle images in sigs just html.

 

Does anyone know a way of doing this or has anyone done something like this?

Posted

We used HTML for ours. It pulls the info from O365 (Which pulls from AD) We only use one image and it is a HTML link to an image on our web server.EmailFooter.PNG

 

We apply the signature via a mail rule which appends to all external mail which does cause some confusion as staff don't actually see their footer until somebody replies to their email.

  • Thanks 1
Posted

I wrote that article :)

 

The images were just hosted on a website as they need to be externally available I'm sure I used png's anyway

 

The powershell code in the example just creates a link to the hosted image within the signature.

 

Thanks,

 

Ben

  • Thanks 1
Posted
I wrote that article :)

 

The images were just hosted on a website as they need to be externally available I'm sure I used png's anyway

 

The powershell code in the example just creates a link to the hosted image within the signature.

 

Thanks,

 

Ben

 

Wow - small world! Looking good on the site ;)

 

So if I had a load of png on a public web server (http://www.myschool.com/sigimg/me.png)

 

Could I use $filename="www.myschool.com/sigimg/me.png"

set-mailboxmessageconfiguration -identity $user_name -signaturehtml (get-content $filename) -autoaddsignature $true

 

Or would it have to be created as HTML first and then added using this command?

Posted

You need to create the html for each person that includes a link to the png image and insert that into the signature using the 2nd powershell script.

 

This hasn't been tested recently though and I've moved on from that job so can no longer test this.

 

Thanks.

 

Ben

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...